From 8c63bf4ab0d826148fa86e0b56b3498eff4a69b0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 30 Jun 2014 19:06:11 +0200 Subject: [PATCH] man: drop references to manual StandardError=syslog from daemon(7), we do this implicitly since ages --- man/daemon.xml | 38 +++++++++++++++----------------------- 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/man/daemon.xml b/man/daemon.xml index 1a2c325f9..d7cf00236 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. -- 2.30.2