From: Lennart Poettering Date: Thu, 2 Nov 2017 18:40:35 +0000 (+0300) Subject: man: update SyslogXYZ= documentation a bit X-Git-Tag: v236~198^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d14b2bd35916dc35dc8669e89e6a01fcbd6c861;p=thirdparty%2Fsystemd.git man: update SyslogXYZ= documentation a bit Let's clarify that these settings only apply to stdout/stderr logging. Always mention the journal before syslog (as the latter is in most ways just a legacy alias these days). Always mention the +console cases too. --- diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 8b538edf779..4a97b1d2037 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -686,81 +686,61 @@ that the screen and scrollback buffer is cleared. Defaults to no. + SyslogIdentifier= - Sets the process name to prefix log lines sent - to the logging system or the kernel log buffer with. If not - set, defaults to the process name of the executed process. - This option is only useful when - StandardOutput= or - StandardError= are set to - , or - (or to the same settings in combination - with ). + Sets the process name ("syslog tag") to prefix log lines sent to the logging + system or the kernel log buffer with. If not set, defaults to the process name of the executed process. This + option is only useful when StandardOutput= or StandardError= are set to + , or (or to the same settings in + combination with ) and only applies to log messages written to stdout or + stderr. + SyslogFacility= - Sets the syslog facility to use when logging - to syslog. One of , - , , - , , - , , - , , - , , - , , - , , - , , - , or - . See + Sets the syslog facility identifier to use when logging. One of + , , , , + , , , , + , , , , + , , , , + , , or . See syslog3 - for details. This option is only useful when - StandardOutput= or - StandardError= are set to - . Defaults to - . + for details. This option is only useful when StandardOutput= or + StandardError= are set to , or + (or to the same settings in combination with ), and only applies + to log messages written to stdout or stderr. Defaults to . + SyslogLevel= - The default syslog level to use when logging to - syslog or the kernel log buffer. One of - , - , - , - , - , - , - , - . See - syslog3 - for details. This option is only useful when - StandardOutput= or - StandardError= are set to - or . Note that - individual lines output by the daemon might be prefixed with a - different log level which can be used to override the default - log level specified here. The interpretation of these prefixes - may be disabled with SyslogLevelPrefix=, - see below. For details, see - sd-daemon3. + The default syslog log level to use when logging to the logging system or + the kernel log buffer. One of , , , + , , , , + . See syslog3 for + details. This option is only useful when StandardOutput= or + StandardError= are set to , or + (or to the same settings in combination with ), and only applies + to log messages written to stdout or stderr. Note that individual lines output by executed processes may be + prefixed with a different log level which can be used to override the default log level specified here. The + interpretation of these prefixes may be disabled with SyslogLevelPrefix=, see below. For + details, see sd-daemon3. - Defaults to - . + Defaults to . SyslogLevelPrefix= - Takes a boolean argument. If true and - StandardOutput= or - StandardError= are set to - , or - , log lines written by the executed - process that are prefixed with a log level will be passed on - to syslog with this log level set but the prefix removed. If - set to false, the interpretation of these prefixes is disabled - and the logged lines are passed on as-is. For details about - this prefixing see - sd-daemon3. - Defaults to true. + Takes a boolean argument. If true and StandardOutput= or + StandardError= are set to , or + (or to the same settings in combination with ), log lines + written by the executed process that are prefixed with a log level will be processed with this log level set + but the prefix removed. If set to false, the interpretation of these prefixes is disabled and the logged lines + are passed on as-is. This only applies to log messages written to stdout or stderr. For details + about this prefixing see + sd-daemon3. Defaults to + true.