aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-28 19:48:53 +0100
committerMax Kellermann <max@duempel.org>2008-12-28 19:48:53 +0100
commitc01aa53e6a972cd83e866b6b2e390449f2a59658 (patch)
tree822555fad1f64663906bb8b54e35b71393d15b6d /doc
parentc6cb611065ab1260ff07b939a9fafa4027fcc5c8 (diff)
downloadmpd-c01aa53e6a972cd83e866b6b2e390449f2a59658.tar.gz
mpd-c01aa53e6a972cd83e866b6b2e390449f2a59658.tar.xz
mpd-c01aa53e6a972cd83e866b6b2e390449f2a59658.zip
log: support syslog()
Allow logging to syslog if log_file is configured to "syslog".
Diffstat (limited to 'doc')
-rw-r--r--doc/mpd.conf.51
-rw-r--r--doc/mpdconf.example4
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/mpd.conf.5 b/doc/mpd.conf.5
index fc31c7e67..5feefc36e 100644
--- a/doc/mpd.conf.5
+++ b/doc/mpd.conf.5
@@ -51,6 +51,7 @@ This specifies where the db file will be stored.
.TP
.B log_file <file>
This specifies where the log file should be located.
+The special value "syslog" makes MPD use the local syslog daemon.
.SH OPTIONAL PARAMETERS
.TP
.B pid_file <file>
diff --git a/doc/mpdconf.example b/doc/mpdconf.example
index 797549da4..2de2e05e5 100644
--- a/doc/mpdconf.example
+++ b/doc/mpdconf.example
@@ -25,6 +25,10 @@ db_file "~/.mpd/database"
# These logs are great for troubleshooting, depending on your log_level
# settings.
#
+# The special value "syslog" makes MPD use the local syslog daemon.
+# On most systems, log messages will appear in /var/log/daemon.log
+# then.
+#
log_file "~/.mpd/log"
###############################################################################