yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #00379
[Bug 1096974] Re: Log lines originating in keystone.common.wsgi are doubled in log files
This worked:
<dolphm> jaypipes: change the first line in your config
"keys=root,keystone,combined" to just "keys=keystone"
** Changed in: keystone
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1096974
Title:
Log lines originating in keystone.common.wsgi are doubled in log files
Status in OpenStack Identity (Keystone):
Invalid
Bug description:
Log lines appear to be doubled up after a certain point in the
keystone log output:
http://paste.openstack.org/show/28966/
which makes debugging quite difficult :)
There's nothing particularly strange about my keystone.conf:
[DEFAULT]
public_port = 5000
admin_port = 35357
admin_token = 999888777666
bind_host = 192.168.128.11
compute_port = 8774
verbose = False
debug = true
log_config = /etc/keystone/logging.conf
# ================= Syslog Options ============================
# Send logs to syslog (/dev/log) instead of to file specified
# by `log-file`
use_syslog = false
# Facility to use. If unset defaults to LOG_LOCAL2
syslog_log_facility = LOG_LOCAL3
and in keystone/logging.conf:
[loggers]
keys=root,keystone,combined
[formatters]
keys=normal,normal_with_name,debug
[handlers]
keys=production,file,devel
[logger_root]
level=NOTSET
handlers=file
[logger_keystone]
level=DEBUG
handlers=file
qualname=keystone
[logger_combined]
level=DEBUG
handlers=file
qualname=keystone-combined
[handler_production]
class=handlers.SysLogHandler
level=ERROR
formatter=normal_with_name
args=(('localhost', handlers.SYSLOG_UDP_PORT), handlers.SysLogHandler.LOG_USER)
[handler_file]
class=FileHandler
level=DEBUG
formatter=normal_with_name
args=('/var/log/keystone/keystone.log', 'w')
[handler_devel]
class=StreamHandler
level=NOTSET
formatter=debug
args=(sys.stdout,)
[formatter_normal]
format=%(asctime)s %(levelname)s %(message)s
[formatter_normal_with_name]
format=(%(name)s): %(asctime)s %(levelname)s %(message)s
[formatter_debug]
format=(%(name)s): %(asctime)s %(levelname)s %(module)s %(funcName)s %(message)s
Any ideas on why this might be happening?
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1096974/+subscriptions