From 050adf6640240bc22d9858529bae3366b14f6987 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 23 Sep 2020 13:57:02 +0200 Subject: [PATCH] doc: rewrite the log_level documentation --- doc/mpd.conf.5.rst | 13 +++++++++---- doc/mpdconf.example | 6 ++---- 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 This specifies the port that mpd listens on. The default is 6600. log_level - 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 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" #