2e261fdc42
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
51 lines
812 B
Plaintext
51 lines
812 B
Plaintext
[loggers]
|
|
keys=root,zuul,gerrit,gear
|
|
|
|
[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
|
|
|
|
[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/executor-debug.log',)
|
|
|
|
[handler_normal]
|
|
level=INFO
|
|
class=logging.handlers.WatchedFileHandler
|
|
formatter=simple
|
|
args=('/var/log/zuul/executor.log',)
|
|
|
|
[formatter_simple]
|
|
format=%(asctime)s %(levelname)s %(name)s: %(message)s
|
|
datefmt=
|
|
class=zuul.lib.logutil.MultiLineFormatter
|