ansible-role-zuul/templates/etc/zuul/scheduler-logging.conf
Paul Belanger a4c87c9638
Add support for kazoo logging
The scheduler now uses kazoo for zookeeper integration, add support
for it.

Change-Id: I74fd30ad3cf90d7ac2904b4db5f91961c59cbbef
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-02-04 19:51:42 -05:00

55 lines
842 B
Plaintext

[loggers]
keys=root,zuul,gerrit,gear,kazoo
[handlers]
keys=console,debug,normal
[formatters]
keys=simple
[logger_root]
level=WARNING
handlers=console
[logger_zuul]
level=DEBUG
handlers=debug,normal
qualname=zuul
[logger_gerrit]
level=INFO
handlers=debug,normal
qualname=gerrit
[logger_gear]
level=WARNING
handlers=debug,normal
qualname=gear
[logger_kazoo]
level=INFO
handlers=debug,normal
qualname=kazoo
[handler_console]
level=WARNING
class=StreamHandler
formatter=simple
args=(sys.stdout,)
[handler_debug]
level=DEBUG
class=logging.handlers.WatchedFileHandler
formatter=simple
args=('/var/log/zuul/scheduler-debug.log',)
[handler_normal]
level=INFO
class=logging.handlers.WatchedFileHandler
formatter=simple
args=('/var/log/zuul/scheduler.log',)
[formatter_simple]
format=%(asctime)s %(levelname)s %(name)s: %(message)s
datefmt=