]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
fts-lucene: Include the mailbox name also in the rebuilding warning.
authorTimo Sirainen <tss@iki.fi>
Thu, 11 Sep 2014 13:12:38 +0000 (16:12 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 11 Sep 2014 13:12:38 +0000 (16:12 +0300)
src/plugins/fts-lucene/fts-backend-lucene.c

index e25087c969f249a88a56d132c3cc8b53b36a1ffb..bc13acc19a7ac5158c51e9e200f4019e8e75edb6 100644 (file)
@@ -197,7 +197,8 @@ fts_backend_lucene_get_last_uid(struct fts_backend *_backend,
                if (!fts_index_have_compatible_settings(_backend->ns->list,
                                                        set_checksum)) {
                        /* need to rebuild the index */
-                       i_warning("fts-lucene: Settings have changed, rebuilding index");
+                       i_warning("fts-lucene: Settings have changed, rebuilding index for mailbox %s",
+                                 mailbox_get_vname(box));
                        *last_uid_r = 0;
                } else {
                        *last_uid_r = hdr.last_indexed_uid;