]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/journalctl.xml
journalctl: add new output mode "short-full" (#3880)
authorLennart Poettering <lennart@poettering.net>
Wed, 3 Aug 2016 23:45:07 +0000 (01:45 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 3 Aug 2016 23:45:07 +0000 (19:45 -0400)
commit29a753df7682424a0ea505698d548f85c514fad5
tree497483cd4863293be9aea641767a765049d9ece1
parent21b3a0fcd1fc4e4c668c4d34115e2e411dc0dceb
journalctl: add new output mode "short-full" (#3880)

This new output mode formats all timestamps using the usual format_timestamp()
call we use pretty much everywhere else. Timestamps formatted this way are some
ways more useful than traditional syslog timestamps as they include weekday,
month and timezone information, while not being much longer. They are also not
locale-dependent. The primary advantage however is that they may be passed
directly to journalctl's --since= and --until= switches as soon as #3869 is
merged.

While we are at it, let's also add "short-unix" to shell completion.
man/journalctl.xml
shell-completion/bash/journalctl
shell-completion/bash/systemctl.in
shell-completion/zsh/_sd_outputmodes
src/shared/logs-show.c
src/shared/output-mode.c
src/shared/output-mode.h