From: Zbigniew Jędrzejewski-Szmek Date: Tue, 26 Aug 2025 09:08:12 +0000 (+0200) Subject: journalctl: fix erroneuous mention of "local" hostnames X-Git-Tag: v258.1~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c32062c5334bc23f9eeb42233509d05545fc1db4;p=thirdparty%2Fsystemd.git journalctl: fix erroneuous mention of "local" hostnames --no-hostname applies equally to remote and local logs. This change is a separate commit to make it easy to backport. (cherry picked from commit 8b6c1d392e1471876b57648b2102fe36f39c5cba) --- diff --git a/man/journalctl.xml b/man/journalctl.xml index 2a3af870fd8..cc39ed3af1b 100644 --- a/man/journalctl.xml +++ b/man/journalctl.xml @@ -737,8 +737,8 @@ - Do not 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). + Do not show the hostname field of log messages. 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. diff --git a/shell-completion/zsh/_journalctl b/shell-completion/zsh/_journalctl index 021d2f47391..6ff3f866f1a 100644 --- a/shell-completion/zsh/_journalctl +++ b/shell-completion/zsh/_journalctl @@ -99,7 +99,7 @@ _arguments -s \ '(- *)'{-h,--help}'[Show this help]' \ '(- *)--version[Show package version]' \ '--no-pager[Do not pipe output into a pager]' \ - --no-hostname"[Don't show the hostname of local log messages]" \ + --no-hostname"[Don't show the hostname of log messages]" \ '(-l --full)'{-l,--full}'[Show long fields in full]' \ '(-a --all)'{-a,--all}'[Show all fields, including long and unprintable]' \ '(-f --follow)'{-f,--follow}'[Follow journal]' \