journald: do not strip leading whitespace from messages
Keep leading whitespace for compatibility with older syslog implementations. Also useful when piping formatted output to the `logger` command. Keep removing trailing whitespace. Tested with `pstree | logger` and checking that the output of `journalctl | tail` included aligned and formatted output. Confirmed that all test cases still pass as expected.
Loading
-
mentioned in commit fcf46f9e
-
mentioned in commit 6a2167b2
-
mentioned in commit 72410ac5
-
mentioned in commit 5e0c8f6a
-
mentioned in commit 78fd8f54
-
mentioned in commit 33583cce
-
mentioned in commit b9293373
-
mentioned in commit fb50f96e
-
mentioned in commit 42c00027
-
mentioned in commit f3f7bf8a
-
mentioned in commit 7cea1a75
-
mentioned in commit f005e73d
Please register or sign in to comment