Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8240:cc5e5c43ebfe HEAD
expire-tool: --test now shows the username in info messages.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 05 Oct 2008 16:59:58 +0300 |
parents | d6d7a56f7160 |
children | 9bc8264d3d00 |
files | src/plugins/expire/expire-tool.c |
diffstat | 1 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/expire/expire-tool.c Sun Oct 05 16:50:41 2008 +0300 +++ b/src/plugins/expire/expire-tool.c Sun Oct 05 16:59:58 2008 +0300 @@ -230,8 +230,10 @@ /* we're no longer expunging old messages from here */ if (!testrun) dict_unset(trans, key); - else - i_info("%s: removed from config", mailbox); + else { + i_info("%s: mailbox '%s' removed from config", + userp, mailbox); + } continue; } if (time(NULL) < (time_t)strtoul(value, NULL, 10)) { @@ -239,7 +241,7 @@ so stop processing */ if (testrun) { i_info("%s: stop, expire time in future: %s", - mailbox, value); + userp, value); } break; } @@ -260,7 +262,7 @@ if (!testrun) dict_unset(trans, key); else - i_info("%s: no messages left", mailbox); + i_info("%s: no messages left", userp); } else { char new_value[MAX_INT_STRLEN]; @@ -274,7 +276,7 @@ dict_set(trans, key, new_value); else { i_info("%s: timestamp %s -> %s", - mailbox, value, new_value); + userp, value, new_value); } } }