Configure gunicorn errorlog

Related: alphagov/notifications-api/pull/1274
This commit is contained in:
Athanasios Voutsadakis
2017-09-22 15:41:41 +01:00
parent 241e3c2232
commit 79752d2754
3 changed files with 14 additions and 1 deletions

View File

@@ -29,6 +29,11 @@ state_file = /home/vcap/logs/awslogs-state
file = /home/vcap/logs/app.log*
log_group_name = paas-${CW_APP_NAME}-application
log_stream_name = {hostname}
[/home/vcap/logs/gunicorn_error.log]
file = /home/vcap/logs/gunicorn_error.log
log_group_name = paas-${CW_APP_NAME}-gunicorn
log_stream_name = {hostname}
EOF
}