chiark / gitweb /
journalctl: add "-t --identifier=STRING" option
authorHarald Hoyer <harald@redhat.com>
Tue, 19 Aug 2014 09:27:34 +0000 (11:27 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 21 Aug 2014 12:16:29 +0000 (14:16 +0200)
commit730836403aee5f5bb998e6e3622ea7068fce0699
tree247df19cca0b6f9e083d7ef275bbaad0a24f36ab
parent9b364545435d2b65fcf73519b3064bb7c28093b7
journalctl: add "-t --identifier=STRING" option

This turns journalctl to the counterpart of systemd-cat.
Messages sent with

systemd-cat --identifier foo --prioritiy debug

can now be shown with

journalctl --identifier foo --prioritiy debug

"--identifier" is not merged with "--unit" to make a clear
distinction between syslog and systemd units.
syslog identifiers can be chosen freely by anyone.
man/journalctl.xml
src/journal/journalctl.c