dovecot-2.0: dsync: Log "changes caused a desync" as a warning, ...

dovecot at dovecot.org dovecot at dovecot.org
Mon Jul 5 22:41:33 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/2f290e28283a
changeset: 11736:2f290e28283a
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jul 05 20:41:30 2010 +0100
description:
dsync: Log "changes caused a desync" as a warning, not as verbose info.

diffstat:

 src/dsync/dsync.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (17 lines):

diff -r 5738c65ad037 -r 2f290e28283a src/dsync/dsync.c
--- a/src/dsync/dsync.c	Mon Jul 05 16:11:19 2010 +0100
+++ b/src/dsync/dsync.c	Mon Jul 05 20:41:30 2010 +0100
@@ -314,10 +314,9 @@
 		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);


More information about the dovecot-cvs mailing list