From e6a4e25a829470c055a1195a8e97834408138c32 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 31 Mar 2020 22:26:59 +0200 Subject: [PATCH] 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 --- man/journalctl.xml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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. + -- 2.47.3