summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-31 22:26:59 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-04-01 09:25:50 +0200
commite6a4e25a829470c055a1195a8e97834408138c32 (patch)
tree1b07b114a9b1b1c206d4ca0446fa60241c19c78e /man
parentjournal-remote: fix description of option (diff)
downloadsystemd-e6a4e25a829470c055a1195a8e97834408138c32.tar.xz
systemd-e6a4e25a829470c055a1195a8e97834408138c32.zip
man: add note that --no-hostname has limited effect
Clearly there is some confusion about the intent of this option, let's add a short note. https://bugzilla.redhat.com/show_bug.cgi?id=1819313
Diffstat (limited to 'man')
-rw-r--r--man/journalctl.xml13
1 files changed, 9 insertions, 4 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml
index 2a685d1ee6..1e5f95e19d 100644
--- a/man/journalctl.xml
+++ b/man/journalctl.xml
@@ -398,8 +398,8 @@
<varlistentry>
<term><option>--output-fields=</option></term>
- <listitem><para>A comma separated list of the fields which should be included in the output. This only has an
- effect for the output modes which would normally show all fields (<option>verbose</option>,
+ <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>,
<literal>__MONOTONIC_TIMESTAMP</literal>, and <literal>_BOOT_ID</literal> fields are always
@@ -416,8 +416,13 @@
<varlistentry>
<term><option>--no-hostname</option></term>
- <listitem><para>Don't show the hostname field of log messages originating from the local host. This switch only
- has an effect on the <option>short</option> family of output modes (see above).</para></listitem>
+ <listitem><para>Don't show the hostname field of log messages originating from the local host. This
+ switch has an effect only on the <option>short</option> family of output modes (see above).
+ </para>
+
+ <para>Note: this option does not remove occurrences of the hostname from log entries themselves, so
+ it does not prevent the hostname from being visible in the logs.</para>
+ </listitem>
</varlistentry>
<varlistentry>