]> 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 14:31:49 +0000 (16:31 +0200)
commit23e6b49cc57cb41a0260686366e7ba86cac0ec4a
tree217b6cecf405e53e76f8685e1f5a2aa10fa855b4
parent0a6b0cf68c6553f7eeef06fb507c1b28b9c61f38
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.
bin/tests/system/isctest/log/basic.py
bin/tests/system/isctest/run.py