log: support syslog()

Allow logging to syslog if log_file is configured to "syslog".
This commit is contained in:
Max Kellermann
2008-12-28 19:48:53 +01:00
parent c6cb611065
commit c01aa53e6a
5 changed files with 124 additions and 6 deletions

View File

@@ -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"
###############################################################################