Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37562176
en ru br
Репозитории ALT
S:2.39.2-alt1
5.1: 2.16.1-alt1
4.1: 2.13-alt8
4.0: 2.12r-alt6
3.0: 2.12q-alt1
www.altlinux.org/Changes

Группа :: Система/Основа
Пакет: util-linux

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: 0006-ALT-Drop-documentation-about-journald-option-since-w.patch
Скачать


From 9298304cb29cf11e006ac9b7785277b3736fe063 Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Thu, 14 May 2020 16:02:11 +0300
Subject: ALT: Drop documentation about --journald option since we compile
 logger without systemd support
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
---
 misc-utils/logger.1.adoc | 22 +---------------------
 1 file changed, 1 insertion(+), 21 deletions(-)
diff --git a/misc-utils/logger.1.adoc b/misc-utils/logger.1.adoc
index 7037fcb09..857d35f26 100644
--- a/misc-utils/logger.1.adoc
+++ b/misc-utils/logger.1.adoc
@@ -75,24 +75,6 @@ Log the PID of the *logger* process with each line. When the optional argument _
 +
 Note that the system logging infrastructure (for example *systemd* when listening on _/dev/log_) may follow local socket credentials to overwrite the PID specified in the message. *logger*(1) is able to set those socket credentials to the given _id_, but only if you have root permissions and a process with the specified PID exists, otherwise the socket credentials are not modified and the problem is silently ignored.
 
-*--journald*[**=**__file__]::
-Write a *systemd* journal entry. The entry is read from the given _file_, when specified, otherwise from standard input. Each line must begin with a field that is accepted by *journald*; see *systemd.journal-fields*(7) for details. The use of a MESSAGE_ID field is generally a good idea, as it makes finding entries easy. Examples:
-+
-____
-    logger --journald <<end
-    MESSAGE_ID=67feb6ffbaf24c5cbec13c008dd72309
-    MESSAGE=The dogs bark, but the caravan goes on.
-    DOGS=bark
-    CARAVAN=goes on
-    end
-
-    logger --journald=entry.txt
-____
-+
-Notice that *--journald* will ignore values of other options, such as priority. If priority is needed it must be within input, and use PRIORITY field. The simple execution of *journalctl*(1) will display MESSAGE field. Use *journalctl --output json-pretty* to see rest of the fields.
-+
-To include newlines in MESSAGE, specify MESSAGE several times. This is handled as a special case, other fields will be stored as an array in the journal if they appear multiple times.
-
 *--msgid* _msgid_::
 Sets the link:https://tools.ietf.org/html/rfc5424[RFC 5424] MSGID field. Note that the space character is not permitted inside of _msgid_. This option is only used if *--rfc5424* is specified as well; otherwise, it is silently ignored.
 
@@ -245,9 +227,7 @@ The *logger* command was originally written by University of California in 1983-
 
 == SEE ALSO
 
-*journalctl*(1),
-*syslog*(3),
-*systemd.journal-fields*(7)
+*syslog*(3)
 
 include::man-common/bugreports.adoc[]
 
-- 
2.25.4
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin