]> git.ipfire.org Git - thirdparty/systemd.git/commit
journalctl: add with-unit mode 8245/head
authorLuca Boccassi <bluca@debian.org>
Tue, 22 May 2018 11:22:00 +0000 (12:22 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 25 May 2018 12:45:34 +0000 (14:45 +0200)
commit49805b3d816aa2cd431690ac6571ca9a8acca55b
tree4dbbd59827a1f31c42538270f2999a7ad2945ce3
parentc1a1b409ce9cac67340f039c99c71af7d0570791
journalctl: add with-unit mode

When dealing with a large number of template instances, for example
when launching daemons per VRF, it is hard for operators to correlate
log lines to arguments.
Add a new with-unit mode which, if available, prefixes unit and user
unit names when displaying its log messages instead of the syslog
identifier. It will also use the full timestamp with timezones, like
the short-full mode.
man/journalctl.xml
shell-completion/bash/journalctl
shell-completion/zsh/_sd_outputmodes
src/journal/journalctl.c
src/shared/logs-show.c
src/shared/output-mode.c
src/shared/output-mode.h