summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-09-23 13:57:02 +0200
committerMax Kellermann <max@musicpd.org>2020-09-23 14:14:54 +0200
commit050adf6640240bc22d9858529bae3366b14f6987 (patch)
tree882ee815cc37c81db2bfa38318d3398dfded4de2 /doc
parent60bbc9f626a7d1d222a2a515e644f362f8a9859c (diff)
doc: rewrite the log_level documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/mpd.conf.5.rst13
-rw-r--r--doc/mpdconf.example6
2 files changed, 11 insertions, 8 deletions
diff --git a/doc/mpd.conf.5.rst b/doc/mpd.conf.5.rst
index 95da0b506..6f7986917 100644
--- a/doc/mpd.conf.5.rst
+++ b/doc/mpd.conf.5.rst
@@ -78,10 +78,15 @@ port <port>
This specifies the port that mpd listens on. The default is 6600.
log_level <default, secure, or verbose>
- This specifies how verbose logs are. "default" is minimal logging, "secure"
- reports from what address a connection is opened, and when it is closed, and
- "verbose" records excessive amounts of information for debugging purposes.
- The default is "default".
+ Suppress all messages below the given threshold. The following
+ log levels are available:
+
+ - :samp:`default`: interesting informational messages
+ - :samp:`secure`: unimportant informational messages
+ - :samp:`verbose`: debug messages (for developers and for
+ troubleshooting)
+
+ The default is :samp:`default`.
follow_outside_symlinks <yes or no>
Control if MPD will follow symbolic links pointing outside the music dir. You
diff --git a/doc/mpdconf.example b/doc/mpdconf.example
index c401d6605..01326fa9d 100644
--- a/doc/mpdconf.example
+++ b/doc/mpdconf.example
@@ -89,10 +89,8 @@
#
#port "6600"
#
-# This setting controls the type of information which is logged. Available
-# setting arguments are "default", "secure" or "verbose". The "verbose" setting
-# argument is recommended for troubleshooting, though can quickly stretch
-# available resources on limited hardware storage.
+# Suppress all messages below the given threshold. Use "verbose" for
+# troubleshooting.
#
#log_level "default"
#