8394406bf1
The logger_gerrit config section should have been logger_gerrit_user_sync in launchpad_sync_logging.conf. Change-Id: I251ae6fac017e8edb0580d07be0124785d6ccf37 Reviewed-on: https://review.openstack.org/11693 Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
40 lines
724 B
Plaintext
40 lines
724 B
Plaintext
[loggers]
|
|
keys=root,gerrit_user_sync
|
|
|
|
[handlers]
|
|
keys=console,debug,normal
|
|
|
|
[formatters]
|
|
keys=simple
|
|
|
|
[logger_root]
|
|
level=WARNING
|
|
handlers=console
|
|
|
|
[logger_gerrit_user_sync]
|
|
level=DEBUG
|
|
handlers=debug,normal
|
|
qualname=gerrit_user_sync
|
|
|
|
[handler_console]
|
|
level=WARNING
|
|
class=StreamHandler
|
|
formatter=simple
|
|
args=(sys.stdout,)
|
|
|
|
[handler_debug]
|
|
level=DEBUG
|
|
class=logging.handlers.TimedRotatingFileHandler
|
|
formatter=simple
|
|
args=('/var/log/gerrit_user_sync/debug.log', 'midnight', 1, 30,)
|
|
|
|
[handler_normal]
|
|
level=INFO
|
|
class=logging.handlers.TimedRotatingFileHandler
|
|
formatter=simple
|
|
args=('/var/log/gerrit_user_sync/sync.log', 'midnight', 1, 30,)
|
|
|
|
[formatter_simple]
|
|
format=%(asctime)s %(levelname)s %(name)s: %(message)s
|
|
datefmt=
|