diff options
author | Max Kellermann <max@musicpd.org> | 2020-09-16 17:16:23 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-09-16 17:17:34 +0200 |
commit | c61a3b8d13e9b7fd2b0ef5f64a2dd9745fdc0306 (patch) | |
tree | d939da6b46b3a5a073df4ae3e468a8b7ae3ef105 | |
parent | e10b867fe6ffbac1ac37a333dbd69597e4fc9f03 (diff) |
LogBackend: change the initial log_threshold to DEFAULT
The log levels have always been very confusing (and badly named), but
this was most confusing: if there's a log level called "default", why
is it not the default?
Closes https://github.com/MusicPlayerDaemon/MPD/issues/926
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/LogBackend.cxx | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -12,6 +12,7 @@ ver 0.21.26 (not yet released) - ffmpeg: remove "rtsp://" from the list of supported protocols - ffmpeg: add "hls+http://" to the list of supported protocols - sndfile: fix lost samples at end of file +* the default log_level is "default", not "info" ver 0.21.25 (2020/07/06) * protocol: diff --git a/src/LogBackend.cxx b/src/LogBackend.cxx index f7760ee23..676ecf3cb 100644 --- a/src/LogBackend.cxx +++ b/src/LogBackend.cxx @@ -61,7 +61,7 @@ ToAndroidLogLevel(LogLevel log_level) noexcept #else -static LogLevel log_threshold = LogLevel::INFO; +static LogLevel log_threshold = LogLevel::DEFAULT; static bool enable_timestamp; |