Log: add level "DEFAULT"

Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to
G_LOG_LEVEL_MESSAGE.  Now client connect/disconnect message are only
logged on log_level "secure".
This commit is contained in:
Max Kellermann
2013-11-04 22:20:11 +01:00
parent 6de85cb047
commit ecf12a60e8
14 changed files with 72 additions and 45 deletions

View File

@@ -875,7 +875,7 @@ Player::SongBorder()
{
const auto uri = song->GetURI();
FormatInfo(player_domain, "played \"%s\"", uri.c_str());
FormatDefault(player_domain, "played \"%s\"", uri.c_str());
}
ReplacePipe(dc.pipe);