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/UpdateArchive.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/UpdateArchive.cxx') diff --git a/src/UpdateArchive.cxx b/src/UpdateArchive.cxx index 8e1936bb4..3139a5926 100644 --- a/src/UpdateArchive.cxx +++ b/src/UpdateArchive.cxx @@ -71,8 +71,8 @@ update_archive_tree(Directory &directory, const char *name) db_unlock(); modified = true; - FormatInfo(update_domain, "added %s/%s", - directory.GetPath(), name); + FormatDefault(update_domain, "added %s/%s", + directory.GetPath(), name); } } } -- cgit v1.2.3