diff --git a/tdrs-frontend/nginx/cloud.gov/buildpack.nginx.conf b/tdrs-frontend/nginx/cloud.gov/buildpack.nginx.conf index 5898a8a5c..df8056b85 100644 --- a/tdrs-frontend/nginx/cloud.gov/buildpack.nginx.conf +++ b/tdrs-frontend/nginx/cloud.gov/buildpack.nginx.conf @@ -40,6 +40,7 @@ http { root public; listen {{port}}; access_log /home/vcap/app/nginx_access.log compression; + error_log /home/vcap/app/error_log.log warn; include locations.conf; diff --git a/tdrs-frontend/promtail.config.yml b/tdrs-frontend/promtail.config.yml index ef2396b01..3fec347c7 100644 --- a/tdrs-frontend/promtail.config.yml +++ b/tdrs-frontend/promtail.config.yml @@ -22,7 +22,7 @@ scrape_configs: - localhost labels: job: nginx - __path__: /var/log/nginx/*log + __path__: /home/vcap/app/*log - job_name: flog_scrape docker_sd_configs: - host: unix:///var/run/docker.sock