summaryrefslogtreecommitdiffstats
path: root/man/sd-daemon.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-03-31 15:59:29 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-04-01 00:15:41 +0200
commit9e76a88fafcba7d5bd7736013b6cb2eb291a006f (patch)
tree7c5930c435251a6ea596248ec143aacae854e01a /man/sd-daemon.xml
parentsd-bus: sd_bus_call docs improvements (diff)
downloadsystemd-9e76a88fafcba7d5bd7736013b6cb2eb291a006f.tar.xz
systemd-9e76a88fafcba7d5bd7736013b6cb2eb291a006f.zip
man: mention that stdout logging works the same as stderr logging
Apparently people wondered about that: https://lists.freedesktop.org/archives/systemd-devel/2020-March/044091.html
Diffstat (limited to 'man/sd-daemon.xml')
-rw-r--r--man/sd-daemon.xml18
1 files changed, 8 insertions, 10 deletions
diff --git a/man/sd-daemon.xml b/man/sd-daemon.xml
index 84deda188d..64ed5f3779 100644
--- a/man/sd-daemon.xml
+++ b/man/sd-daemon.xml
@@ -68,16 +68,14 @@
#define SD_INFO "&lt;6&gt;" /* informational */
#define SD_DEBUG "&lt;7&gt;" /* debug-level messages */</programlisting>
- <para>These prefixes are intended to be used in conjunction with
- stderr-based logging as implemented by systemd. If a systemd
- service definition file is configured with
- <varname>StandardError=journal</varname>,
- <varname>StandardError=syslog</varname> or
- <varname>StandardError=kmsg</varname>, these prefixes can be used
- to encode a log level in lines printed. This is similar to the
- kernel <function>printk()</function>-style logging. See
- <citerefentry><refentrytitle>klogctl</refentrytitle><manvolnum>2</manvolnum></citerefentry>
- for more information.</para>
+ <para>These prefixes are intended to be used in conjunction with stderr-based logging (or stdout-based
+ logging) as implemented by systemd. If a systemd service definition file is configured with
+ <varname>StandardError=journal</varname>, <varname>StandardError=syslog</varname> or
+ <varname>StandardError=kmsg</varname> (and similar with <varname>StandardOutput=</varname>), these
+ prefixes can be used to encode a log level in lines printed. This is similar to the kernel
+ <function>printk()</function>-style logging. See
+ <citerefentry><refentrytitle>klogctl</refentrytitle><manvolnum>2</manvolnum></citerefentry> for more
+ information.</para>
<para>The log levels are identical to
<citerefentry project='man-pages'><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry>'s