From 6848a50ae17233ee730575f9cda18f3711736677 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 25 Aug 2017 09:36:43 +0100 Subject: [PATCH 1/2] Bump utils to 19.0.4 Brings in: - [ ] https://github.com/alphagov/notifications-utils/pull/210 - [ ] https://github.com/alphagov/notifications-utils/pull/212 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 1e1af140e..293c32810 100644 --- a/requirements.txt +++ b/requirements.txt @@ -30,6 +30,6 @@ notifications-python-client==4.3.1 awscli>=1.11,<1.12 awscli-cwlogs>=1.4,<1.5 -git+https://github.com/alphagov/notifications-utils.git@19.0.2#egg=notifications-utils==19.0.2 +git+https://github.com/alphagov/notifications-utils.git@19.0.4#egg=notifications-utils==19.0.4 git+https://github.com/alphagov/boto.git@2.43.0-patch3#egg=boto==2.43.0-patch3 From 4e7c19a98f04a92e03b386256551094170e4d8ba Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Fri, 25 Aug 2017 14:38:04 +0100 Subject: [PATCH 2/2] update utils to v20 - log from multiple app.log*.json files the rotating file handler puts the date on the end, so those old files won't be pushed --- requirements.txt | 2 +- scripts/run_app_paas.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 293c32810..51a4b4155 100644 --- a/requirements.txt +++ b/requirements.txt @@ -30,6 +30,6 @@ notifications-python-client==4.3.1 awscli>=1.11,<1.12 awscli-cwlogs>=1.4,<1.5 -git+https://github.com/alphagov/notifications-utils.git@19.0.4#egg=notifications-utils==19.0.4 +git+https://github.com/alphagov/notifications-utils.git@20.0.0#egg=notifications-utils==20.0.0 git+https://github.com/alphagov/boto.git@2.43.0-patch3#egg=boto==2.43.0-patch3 diff --git a/scripts/run_app_paas.sh b/scripts/run_app_paas.sh index 2112e4789..b7bed184f 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* +file = /home/vcap/logs/app.log*.json log_group_name = paas-${CW_APP_NAME}-application log_stream_name = {hostname} EOF