system-config/playbooks/roles/zuul-scheduler/files/logging.conf
Ian Wienand 2e261fdc42 zuul-*: use multiline formatter
Zuul change I6d7e7e7a9e19d46a744f9ffac8d532fc6b4bba01 introduced a
multi-line formatter that makes exceptions and other multi-line output
much easier to follow in the logs.  Use it here for the simple
formatter in the production Zuul deployment.

Change-Id: I9a8aad8a90f5f4080cdb872d0ed65697a180f57c
2021-12-13 14:54:16 +11:00

66 lines
1.0 KiB
Plaintext

[loggers]
keys=root,zuul,gerrit,gerrit_io,gear,kazoo,github_io
[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_gerrit_io]
level=INFO
handlers=debug,normal
qualname=zuul.GerritConnection.io
[logger_gear]
level=WARNING
handlers=debug,normal
qualname=gear
[logger_kazoo]
level=INFO
handlers=debug,normal
qualname=kazoo
[logger_github_io]
level=DEBUG
handlers=debug,normal
qualname=github3
[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/debug.log',)
[handler_normal]
level=INFO
class=logging.handlers.WatchedFileHandler
formatter=simple
args=('/var/log/zuul/zuul.log',)
[formatter_simple]
format=%(asctime)s %(levelname)s %(name)s: %(message)s
datefmt=
class=zuul.lib.logutil.MultiLineFormatter