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
This commit is contained in:
Leo Hemsted
2017-08-25 14:38:04 +01:00
parent 6848a50ae1
commit 4e7c19a98f
2 changed files with 2 additions and 2 deletions

View File

@@ -30,6 +30,6 @@ notifications-python-client==4.3.1
awscli>=1.11,<1.12 awscli>=1.11,<1.12
awscli-cwlogs>=1.4,<1.5 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 git+https://github.com/alphagov/boto.git@2.43.0-patch3#egg=boto==2.43.0-patch3

View File

@@ -26,7 +26,7 @@ function configure_aws_logs {
state_file = /home/vcap/logs/awslogs-state state_file = /home/vcap/logs/awslogs-state
[/home/vcap/logs/app.log] [/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_group_name = paas-${CW_APP_NAME}-application
log_stream_name = {hostname} log_stream_name = {hostname}
EOF EOF