diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-01-02 20:41:01 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-01-04 20:00:16 +0100 |
commit | dc60ac29606c33acbd22d2fd6f37cc5fbfed7953 (patch) | |
tree | 3a0a890ced335fae0cf0939736c631342fcbf1f8 /test/test-network/systemd-networkd-tests.py | |
parent | tmpfiles: add --purge switch (diff) | |
download | systemd-dc60ac29606c33acbd22d2fd6f37cc5fbfed7953.tar.xz systemd-dc60ac29606c33acbd22d2fd6f37cc5fbfed7953.zip |
test-network: show monotonic timestamp and drop hopstname from logs
Diffstat (limited to '')
-rwxr-xr-x | test/test-network/systemd-networkd-tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index eefd7192a7..24757d68fa 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -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: |