]> git.ipfire.org Git - thirdparty/bind9.git/commit
Indent multiline output in pytest logging
authorNicki Křížek <nicki@isc.org>
Tue, 17 Jun 2025 15:33:22 +0000 (17:33 +0200)
committerNicki Křížek <nicki@isc.org>
Fri, 27 Jun 2025 18:30:21 +0000 (20:30 +0200)
commita6599a082234c0206af75b73d7f4e43cc4b71f92
tree1a823c53328df0e957378bacd7556d55cc86bbe7
parent129dd186fc4ddde2cf4a66e2c4465b8e92069d18
Indent multiline output in pytest logging

When multiline message is logged, indent all but the first line (which
will be preceeded by the LOG_FORMAT). This improves the clarity of logs,
as it's immediately clear which lines are regular log output, and which
ones are multiline debug output.

Adjust the isctest.run.cmd() stdout/stderr logging to this new format.

(cherry picked from commit 23e6b49cc57cb41a0260686366e7ba86cac0ec4a)
bin/tests/system/isctest/log/basic.py
bin/tests/system/isctest/run.py