]> 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 16:09:08 +0000 (18:09 +0200)
commit34856fac75017b101ccfb42ea04d3c7e7ad5f301
tree875018e33252f347f05f9fe711a05a13df10f5d0
parent34be25b68d67c146ba4fdadd458aa6cf50177d41
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