From c01aa53e6a972cd83e866b6b2e390449f2a59658 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 28 Dec 2008 19:48:53 +0100 Subject: log: support syslog() Allow logging to syslog if log_file is configured to "syslog". --- doc/mpd.conf.5 | 1 + doc/mpdconf.example | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'doc') 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 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 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" ############################################################################### -- cgit v1.2.3