Disable stderr logging

OSLO logging currently defaults the 'use_stderr' option to True
which results duplicate logs in service daemon logs for both
upstart and systemd. To correct this issue the use_stderr
option has been set to false.

Change-Id: I40e18d531d7551c6a460449dd17116abd68187b2
Closes-Bug: 1588051
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2016-08-04 12:36:21 -05:00 committed by Kevin Carter (cloudnull)
parent 307578985a
commit 7f4c2acbac
5 changed files with 10 additions and 0 deletions

View File

@ -4,6 +4,8 @@
{% set api_threads = _api_threads if _api_threads > 0 else 1 %}
[DEFAULT]
# Disable stderr logging
use_stderr = False
debug = {{ debug }}
log_file = /var/log/glance/glance-api.log
fatal_deprecations = {{ glance_fatal_deprecations }}

View File

@ -1,6 +1,8 @@
# {{ ansible_managed }}
[DEFAULT]
# Disable stderr logging
use_stderr = False
debug = {{ debug }}
admin_password = {{ glance_service_password }}
admin_user = {{ glance_service_user_name }}

View File

@ -1,4 +1,6 @@
[DEFAULT]
# Disable stderr logging
use_stderr = False
debug = {{ debug }}
log_file = /var/log/glance/glance-manage.log
fatal_deprecations = {{ glance_fatal_deprecations }}

View File

@ -4,6 +4,8 @@
{% set api_threads = _api_threads if _api_threads > 0 else 1 %}
[DEFAULT]
# Disable stderr logging
use_stderr = False
debug = {{ debug }}
fatal_deprecations = {{ glance_fatal_deprecations }}
log_file = /var/log/glance/glance-registry.log

View File

@ -1,6 +1,8 @@
# {{ ansible_managed }}
[DEFAULT]
# Disable stderr logging
use_stderr = False
debug = {{ debug }}
# Log to this file. Make sure you do not set the same log file for both the API
# and registry servers!