From c61a3b8d13e9b7fd2b0ef5f64a2dd9745fdc0306 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 16 Sep 2020 17:16:23 +0200 Subject: [PATCH] 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 --- NEWS | 1 + src/LogBackend.cxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index f00ba7a79..82e0d55e5 100644 --- a/NEWS +++ b/NEWS @@ -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;