summaryrefslogtreecommitdiff
path: root/man/journalctl.xml
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2014-08-19 11:27:34 +0200
committerHarald Hoyer <harald@redhat.com>2014-08-21 14:16:29 +0200
commit730836403aee5f5bb998e6e3622ea7068fce0699 (patch)
tree247df19cca0b6f9e083d7ef275bbaad0a24f36ab /man/journalctl.xml
parent9b364545435d2b65fcf73519b3064bb7c28093b7 (diff)
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.
Diffstat (limited to 'man/journalctl.xml')
-rw-r--r--man/journalctl.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml
index e10918a9c6..d4e031619a 100644
--- a/man/journalctl.xml
+++ b/man/journalctl.xml
@@ -498,6 +498,20 @@
</varlistentry>
<varlistentry>
+ <term><option>-t</option></term>
+ <term><option>--identifier=<replaceable>SYSLOG_IDENTIFIER</replaceable>|<replaceable>PATTERN</replaceable></option></term>
+
+ <listitem><para>Show messages for the
+ specified syslog identifier
+ <replaceable>SYSLOG_IDENTIFIER</replaceable>, or
+ for any of the messages with a <literal>SYSLOG_IDENTIFIER</literal>
+ matched by <replaceable>PATTERN</replaceable>.</para>
+
+ <para>This parameter can be specified
+ multiple times.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-u</option></term>
<term><option>--unit=<replaceable>UNIT</replaceable>|<replaceable>PATTERN</replaceable></option></term>