]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dsync: Log "changes caused a desync" as a warning, not as verbose info.
authorTimo Sirainen <tss@iki.fi>
Mon, 5 Jul 2010 19:41:30 +0000 (20:41 +0100)
committerTimo Sirainen <tss@iki.fi>
Mon, 5 Jul 2010 19:41:30 +0000 (20:41 +0100)
--HG--
branch : HEAD

src/dsync/dsync.c

index a602386a3570ca1e9535f36ec811d57bc38ddd2b..50276f8a7d768432bbb5ea838977c2140dfc59c6 100644 (file)
@@ -314,10 +314,9 @@ int main(int argc, char *argv[])
                mail_user_unref(&mail_user2);
        mail_storage_service_user_free(&service_user);
 
-       if (unexpected_changes &&
-           (brain_flags & DSYNC_BRAIN_FLAG_VERBOSE) != 0) {
-               i_info("Mailbox changes caused a desync. "
-                      "You may want to run dsync again.");
+       if (unexpected_changes) {
+               i_warning("Mailbox changes caused a desync. "
+                         "You may want to run dsync again.");
        }
 
        mail_storage_service_deinit(&storage_service);