From 2492061c63d1192f53068c313e0d8efeee196ee7 Mon Sep 17 00:00:00 2001 From: Athanasios Voutsadakis Date: Fri, 8 Sep 2017 16:12:47 +0100 Subject: [PATCH 1/2] Bump notifications-utils version to 21.0.0 This removes the PID from the log files --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index a1ef0f9eb..05ac008e9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -29,6 +29,6 @@ notifications-python-client==4.4.0 awscli>=1.11,<1.12 awscli-cwlogs>=1.4,<1.5 -git+https://github.com/alphagov/notifications-utils.git@20.0.0#egg=notifications-utils==20.0.0 +git+https://github.com/alphagov/notifications-utils.git@21.0.0#egg=notifications-utils==21.0.0 git+https://github.com/alphagov/boto.git@2.43.0-patch3#egg=boto==2.43.0-patch3 From 4b88ec639f692cf11c2696ac7e679e4c72f57d4b Mon Sep 17 00:00:00 2001 From: Athanasios Voutsadakis Date: Mon, 11 Sep 2017 11:11:06 +0100 Subject: [PATCH 2/2] Remove * from logs matching pattern Now we are only going to have one log file that we're interested in --- scripts/run_app_paas.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_app_paas.sh b/scripts/run_app_paas.sh index b7bed184f..90205fd73 100755 --- a/scripts/run_app_paas.sh +++ b/scripts/run_app_paas.sh @@ -26,7 +26,7 @@ function configure_aws_logs { state_file = /home/vcap/logs/awslogs-state [/home/vcap/logs/app.log] -file = /home/vcap/logs/app.log*.json +file = /home/vcap/logs/app.log.json log_group_name = paas-${CW_APP_NAME}-application log_stream_name = {hostname} EOF