Skip to content

Commit

Permalink
Updates after review: removes from docker image and doc updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
iulianp26 committed May 12, 2017
1 parent 390e9c7 commit 6e79e96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN apk --no-cache --virtual .build-dependencies add git \
&& go build -ldflags="${LDFLAGS}" \
&& mv ${PROJECT} /${PROJECT} \
&& apk del .build-dependencies \
&& rm -rf $GOPATH /var/cache/apk/*
&& rm -rf $GOPATH /var/cache/apk/* $GOPATH/src /${PROJECT}-sources /usr/local/go

WORKDIR /

Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,5 @@ Following check is performed for health and gtg endpoints:

### Logging

* The application uses [logrus](https://github.com/Sirupsen/logrus); the log file is initialised in [main.go](main.go).
* Logging requires an `env` app parameter, for all environments other than `local` logs are written to file.
* When running locally, logs are written to console. If you want to log locally to file, you need to pass in an env parameter that is != `local`.
* The application uses [logrus](https://github.com/Sirupsen/logrus).
* NOTE: `/__build-info` and `/__gtg` endpoints are not logged as they are called every second from varnish/vulcand and this information is not needed in logs/splunk.

0 comments on commit 6e79e96

Please sign in to comment.