From: Zbigniew Jędrzejewski-Szmek Date: Tue, 31 Mar 2020 20:26:59 +0000 (+0200) Subject: man: add note that --no-hostname has limited effect X-Git-Tag: v246-rc1~651^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15290%2Fhead;p=thirdparty%2Fsystemd.git 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 --- diff --git a/man/journalctl.xml b/man/journalctl.xml index 2a685d1ee65..1e5f95e19d4 100644 --- a/man/journalctl.xml +++ b/man/journalctl.xml @@ -398,8 +398,8 @@ - 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 (, + 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 (, , , , and ). The __CURSOR, __REALTIME_TIMESTAMP, __MONOTONIC_TIMESTAMP, and _BOOT_ID fields are always @@ -416,8 +416,13 @@ - Don't show the hostname field of log messages originating from the local host. This switch only - has an effect on the family of output modes (see above). + Don't show the hostname field of log messages originating from the local host. This + switch has an effect only on the family of output modes (see above). + + + 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. +