]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-network: show monotonic timestamp and drop hopstname from logs
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 2 Jan 2024 19:41:01 +0000 (04:41 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 4 Jan 2024 19:00:16 +0000 (04:00 +0900)
test/test-network/systemd-networkd-tests.py

index eefd7192a75198bc319fa1a2232e75187101b3cc..24757d68fa10eaef8db74ee20b6430aa6eeeddcb 100755 (executable)
@@ -707,6 +707,8 @@ def read_networkd_log(invocation_id=None, since=None):
         invocation_id = networkd_invocation_id()
     command = [
         'journalctl',
+        '--no-hostname',
+        '--output=short-monotonic',
         f'_SYSTEMD_INVOCATION_ID={invocation_id}',
     ]
     if since: