diff --git a/Dockerfile b/Dockerfile index 418a7ae..de846f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 / diff --git a/README.md b/README.md index e84f25f..edc0e14 100644 --- a/README.md +++ b/README.md @@ -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.