summaryrefslogtreecommitdiffstats
path: root/man/journalctl.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-04-30 14:53:14 +0200
committerLennart Poettering <lennart@poettering.net>2020-05-05 09:22:27 +0200
commite0e3d387268f5e1b6692c3bb3730ff349528927b (patch)
tree0850dbb74c4a42f3af7d293d790c584426b2dde5 /man/journalctl.xml
parentjournalctl: optionally, show a different field than MESSAGE in -o cat mode (diff)
downloadsystemd-e0e3d387268f5e1b6692c3bb3730ff349528927b.tar.xz
systemd-e0e3d387268f5e1b6692c3bb3730ff349528927b.zip
man: document the new -o cat feature
Diffstat (limited to 'man/journalctl.xml')
-rw-r--r--man/journalctl.xml16
1 files changed, 9 insertions, 7 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml
index d6d475ed97..6e4728b013 100644
--- a/man/journalctl.xml
+++ b/man/journalctl.xml
@@ -374,9 +374,10 @@
<option>cat</option>
</term>
<listitem>
- <para>generates a very terse output, only showing the
- actual message of each journal entry with no metadata,
- not even a timestamp.</para>
+ <para>generates a very terse output, only showing the actual message of each journal entry
+ with no metadata, not even a timestamp. If combined with the
+ <option>--output-fields=</option> option will output the listed fields for each log record,
+ instead of the message.</para>
</listitem>
</varlistentry>
@@ -398,10 +399,11 @@
<varlistentry>
<term><option>--output-fields=</option></term>
- <listitem><para>A comma separated list of the fields which should be included in the output. This has an
- effect only for the output modes which would normally show all fields (<option>verbose</option>,
- <option>export</option>, <option>json</option>, <option>json-pretty</option>, <option>json-sse</option> and
- <option>json-seq</option>). The <literal>__CURSOR</literal>, <literal>__REALTIME_TIMESTAMP</literal>,
+ <listitem><para>A comma separated list of the fields which should be included in the output. This has
+ an effect only for the output modes which would normally show all fields (<option>verbose</option>,
+ <option>export</option>, <option>json</option>, <option>json-pretty</option>,
+ <option>json-sse</option> and <option>json-seq</option>), as well as on <option>cat</option>. For the
+ former, the <literal>__CURSOR</literal>, <literal>__REALTIME_TIMESTAMP</literal>,
<literal>__MONOTONIC_TIMESTAMP</literal>, and <literal>_BOOT_ID</literal> fields are always
printed.</para></listitem>
</varlistentry>