From ecf12a60e8f82df59b1cf1fcbab1609fb2dfd7f4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 4 Nov 2013 22:20:11 +0100 Subject: 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". --- src/UpdateSong.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/UpdateSong.cxx') diff --git a/src/UpdateSong.cxx b/src/UpdateSong.cxx index ee0baaf6c..bfab5c4a0 100644 --- a/src/UpdateSong.cxx +++ b/src/UpdateSong.cxx @@ -83,11 +83,11 @@ update_song_file2(Directory &directory, db_unlock(); modified = true; - FormatInfo(update_domain, "added %s/%s", - directory.GetPath(), name); + FormatDefault(update_domain, "added %s/%s", + directory.GetPath(), name); } else if (st->st_mtime != song->mtime || walk_discard) { - FormatInfo(update_domain, "updating %s/%s", - directory.GetPath(), name); + FormatDefault(update_domain, "updating %s/%s", + directory.GetPath(), name); if (!song->UpdateFile()) { FormatDebug(update_domain, "deleting unrecognized file %s/%s", -- cgit v1.2.3