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
This commit is contained in:
Max Kellermann 2020-09-16 17:16:23 +02:00
parent e10b867fe6
commit c61a3b8d13
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -12,6 +12,7 @@ ver 0.21.26 (not yet released)
- ffmpeg: remove "rtsp://" from the list of supported protocols - ffmpeg: remove "rtsp://" from the list of supported protocols
- ffmpeg: add "hls+http://" to the list of supported protocols - ffmpeg: add "hls+http://" to the list of supported protocols
- sndfile: fix lost samples at end of file - sndfile: fix lost samples at end of file
* the default log_level is "default", not "info"
ver 0.21.25 (2020/07/06) ver 0.21.25 (2020/07/06)
* protocol: * protocol:

View File

@ -61,7 +61,7 @@ ToAndroidLogLevel(LogLevel log_level) noexcept
#else #else
static LogLevel log_threshold = LogLevel::INFO; static LogLevel log_threshold = LogLevel::DEFAULT;
static bool enable_timestamp; static bool enable_timestamp;