]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm backup: When deleting a mailbox, log a warning, not just a debug message.
authorTimo Sirainen <tss@iki.fi>
Mon, 6 Oct 2014 09:21:24 +0000 (12:21 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 6 Oct 2014 09:21:24 +0000 (12:21 +0300)
Because we're also returning temporary failure in any case, so there needs
to be some kind of a warning/error logged.

src/doveadm/dsync/dsync-mailbox-import.c

index d22a3420fd30b9dd424e597ccd4688c3873b5f70..c70158805c7723fbc098394a689f09e7eee27b0e 100644 (file)
@@ -1412,7 +1412,7 @@ dsync_mailbox_revert_missing(struct dsync_mailbox_importer *importer,
        /* mail exists on remote, but not locally. we'll need to
           insert this mail back, which means deleting the whole
           mailbox and resyncing. */
-       imp_debug(importer, "Deleting mailbox '%s': UID=%u GUID=%s is missing locally",
+       i_warning("Deleting mailbox '%s': UID=%u GUID=%s is missing locally",
                  mailbox_get_vname(importer->box),
                  change->uid, change->guid);
        importer->delete_mailbox = TRUE;