X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fdaemon.xml;h=ddd5cf29247f4712af99a5df430f69309a09acff;hb=108e8cd11e88bd4795a62bf335921d438592601c;hp=1a2c325f9b19843fc157c725d440b3494416fe55;hpb=9546c6ed678bf8fbb93b9be620c9727b0e3d58ae;p=elogind.git
diff --git a/man/daemon.xml b/man/daemon.xml
index 1a2c325f9..ddd5cf292 100644
--- a/man/daemon.xml
+++ b/man/daemon.xml
@@ -321,29 +321,21 @@
interface.
Instead of using the
- syslog() call to log directly to the
- system syslog service, a new-style daemon may
- choose to simply log to standard error via
- fprintf(), 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 "<4>"
- (for log priority 4 "WARNING" in the
- syslog priority scheme), following a
- similar style as the Linux kernel's
- printk() 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
- dmesg1. This
- kind of logging may be enabled by
- setting
- StandardError=syslog
- in the service unit file. For details,
- see
+ syslog() call to
+ log directly to the system syslog
+ service, a new-style daemon may choose
+ to simply log to standard error via
+ fprintf(), 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 "<4>" (for log
+ priority 4 "WARNING" in the syslog
+ priority scheme), following a similar
+ style as the Linux kernel's
+ printk() priority
+ system. For details, see
sd-daemon3
and
systemd.exec5.
@@ -943,7 +935,7 @@ fi
Placing Daemon Data
- It is recommended to follow the genreal
+ It is recommended to follow the general
guidelines for placing package files, as discussed in
file-hierarchy7.