log: support syslog()
Allow logging to syslog if log_file is configured to "syslog".
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
###############################################################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user