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
This commit is contained in:
Ian Wienand 2021-12-13 14:54:16 +11:00
parent 5a215e0654
commit 2e261fdc42
6 changed files with 6 additions and 0 deletions

View File

@ -47,3 +47,4 @@ args=('/var/log/zuul/executor.log',)
[formatter_simple] [formatter_simple]
format=%(asctime)s %(levelname)s %(name)s: %(message)s format=%(asctime)s %(levelname)s %(name)s: %(message)s
datefmt= datefmt=
class=zuul.lib.logutil.MultiLineFormatter

View File

@ -47,3 +47,4 @@ args=('/var/log/zuul/merger.log',)
[formatter_simple] [formatter_simple]
format=%(asctime)s %(levelname)s %(name)s: %(message)s format=%(asctime)s %(levelname)s %(name)s: %(message)s
datefmt= datefmt=
class=zuul.lib.logutil.MultiLineFormatter

View File

@ -31,3 +31,4 @@ args=('/var/log/zuul/gearman-server.log',)
[formatter_simple] [formatter_simple]
format=%(asctime)s %(levelname)s %(name)s: %(message)s format=%(asctime)s %(levelname)s %(name)s: %(message)s
datefmt= datefmt=
class=zuul.lib.logutil.MultiLineFormatter

View File

@ -62,3 +62,4 @@ args=('/var/log/zuul/zuul.log',)
[formatter_simple] [formatter_simple]
format=%(asctime)s %(levelname)s %(name)s: %(message)s format=%(asctime)s %(levelname)s %(name)s: %(message)s
datefmt= datefmt=
class=zuul.lib.logutil.MultiLineFormatter

View File

@ -47,3 +47,4 @@ args=('/var/log/zuul/fingergw.log',)
[formatter_simple] [formatter_simple]
format=%(asctime)s %(levelname)s %(name)s: %(message)s format=%(asctime)s %(levelname)s %(name)s: %(message)s
datefmt= datefmt=
class=zuul.lib.logutil.MultiLineFormatter

View File

@ -52,3 +52,4 @@ args=('/var/log/zuul/web.log',)
[formatter_simple] [formatter_simple]
format=%(asctime)s %(levelname)s %(name)s: %(message)s format=%(asctime)s %(levelname)s %(name)s: %(message)s
datefmt= datefmt=
class=zuul.lib.logutil.MultiLineFormatter