From ea14357eebc36e4500c58bbd12f27d9aa9c6f5ed Mon Sep 17 00:00:00 2001 From: Steve Wilkerson Date: Tue, 15 Aug 2017 14:19:51 -0500 Subject: [PATCH] Logging: Direct transfer and custom logs for apache to stdout Directs transferlogs in apache to stdout to align with the other services in openstack-helm Change-Id: If9e203ee19e125b390e10c0ee18f39e8df43b7db --- horizon/templates/etc/_horizon.conf.tpl | 3 ++- keystone/templates/etc/_wsgi-keystone.conf.tpl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/horizon/templates/etc/_horizon.conf.tpl b/horizon/templates/etc/_horizon.conf.tpl index bc40290a5a..641b705286 100644 --- a/horizon/templates/etc/_horizon.conf.tpl +++ b/horizon/templates/etc/_horizon.conf.tpl @@ -42,7 +42,8 @@ CustomLog /dev/stdout proxy env=forwarded = 2.4> ErrorLogFormat "%{cu}t %M" - ErrorLog /dev/stderr + ErrorLog /dev/stdout + TransferLog /dev/stdout SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded CustomLog /dev/stdout combined env=!forwarded diff --git a/keystone/templates/etc/_wsgi-keystone.conf.tpl b/keystone/templates/etc/_wsgi-keystone.conf.tpl index f6d9476c10..242b80b497 100644 --- a/keystone/templates/etc/_wsgi-keystone.conf.tpl +++ b/keystone/templates/etc/_wsgi-keystone.conf.tpl @@ -33,7 +33,7 @@ CustomLog /dev/stdout proxy env=forwarded = 2.4> ErrorLogFormat "%{cu}t %M" - ErrorLog /dev/stderr + ErrorLog /dev/stdout SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded CustomLog /dev/stdout combined env=!forwarded