From 8b8de13d549d352825b3f2a14c55b1f82dbf64a8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 2 Nov 2017 21:53:45 +0300 Subject: [PATCH] man: document LogFieldMax= and LogExtraFields= --- man/systemd.exec.xml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 4a97b1d203..d043555860 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -743,6 +743,41 @@ true. + + LogLevelMax= + Configures filtering by log level of log messages generated by this unit. Takes a + syslog log level, one of (lowest log level, only highest priority + messages), , , , , + , , (highest log level, also lowest priority + messages). See syslog3 for + details. By default no filtering is applied (i.e. the default maximum log level is ). Use + this option to configure the logging system to drop log messages of a specific service above the specified + level. For example, set LogLevelMax= in order to turn off debug logging + of a particularly chatty unit. Note that the the configured level is applied to any log messages written by any + of the processes belonging to this unit, sent via any supported logging protocol. The filtering is applied + early in the logging pipeline, before any kind of further processing is done. Moreover, messages which pass + through this filter successfully might still be dropped by filters applied at a later stage in the logging + subsystem. For example, MaxLevelStore= configured in + journald.conf5 might + prohibit messages of higher log levels to be stored on disk, even though the per-unit + LogLevelMax= permitted it to be processed. + + + + LogExtraFields= + Configures additional log metadata fields to include in all log records generated by processes + associated with this unit. This setting takes one or more journal field assignments in the format + FIELD=VALUE separated by whitespace. See + systemd.journal-fields7 for + details on the journal field concept. Even though the underlying journal implementation permits binary field + values, this setting accepts only valid UTF-8 values. To include space characters in a journal field value, + enclose the assignment in double quotes ("). The usual specifiers are expanded in all assignments (see + below). Note that this setting is not only useful for attaching additional metadata to log records of a unit, + but given that all fields and values are indexed may also be used to implement cross-unit log record + matching. Assign an empty string to reset the list. + + TimerSlackNSec= Sets the timer slack in nanoseconds for the