summaryrefslogtreecommitdiff
path: root/man/daemon.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-30 19:06:11 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-30 19:06:11 +0200
commit8c63bf4ab0d826148fa86e0b56b3498eff4a69b0 (patch)
tree540e7a91f1c585589505223d2b5ff52bef3b53b2 /man/daemon.xml
parent9546c6ed678bf8fbb93b9be620c9727b0e3d58ae (diff)
man: drop references to manual StandardError=syslog from daemon(7), we do this implicitly since ages
Diffstat (limited to 'man/daemon.xml')
-rw-r--r--man/daemon.xml38
1 files changed, 15 insertions, 23 deletions
diff --git a/man/daemon.xml b/man/daemon.xml
index 1a2c325f9b..d7cf002363 100644
--- a/man/daemon.xml
+++ b/man/daemon.xml
@@ -321,29 +321,21 @@
interface.</para></listitem>
<listitem><para>Instead of using the
- <function>syslog()</function> call to log directly to the
- system syslog service, a new-style daemon may
- choose to simply log to standard error via
- <function>fprintf()</function>, which is then forwarded to
- syslog by the init system. If log
- priorities are necessary, these can be
- encoded by prefixing individual log
- lines with strings like "&lt;4&gt;"
- (for log priority 4 "WARNING" in the
- syslog priority scheme), following a
- similar style as the Linux kernel's
- <function>printk()</function> priority system. In fact,
- using this style of logging also
- enables the init system to optionally
- direct all application logging to the
- kernel log buffer (kmsg), as
- accessible via
- <citerefentry><refentrytitle>dmesg</refentrytitle><manvolnum>1</manvolnum></citerefentry>. This
- kind of logging may be enabled by
- setting
- <varname>StandardError=syslog</varname>
- in the service unit file. For details,
- see
+ <function>syslog()</function> call to
+ log directly to the system syslog
+ service, a new-style daemon may choose
+ to simply log to standard error via
+ <function>fprintf()</function>, which
+ is then forwarded to syslog by the
+ init system. If log priorities are
+ necessary, these can be encoded by
+ prefixing individual log lines with
+ strings like "&lt;4&gt;" (for log
+ priority 4 "WARNING" in the syslog
+ priority scheme), following a similar
+ style as the Linux kernel's
+ <function>printk()</function> priority
+ system. For details, see
<citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>
and
<citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para></listitem>