]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imap-hibernate: Add "Disconnected: " prefix to all disconnection log lines
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 3 Feb 2021 19:18:41 +0000 (21:18 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Thu, 11 Mar 2021 11:19:09 +0000 (11:19 +0000)
src/imap-hibernate/imap-client.c

index d62a346beb821cf4d1d1a1544266d1f3bdc94751..8e0f93381b4c27cf62f0c021195b0056939017ff 100644 (file)
@@ -680,7 +680,8 @@ void imap_client_destroy(struct imap_client **_client, const char *reason)
        if (reason != NULL) {
                /* the client input/output bytes don't count the DONE+IDLE by
                   imap-hibernate, but that shouldn't matter much. */
-               e_info(client->event, "%s %s", reason, client->state.stats);
+               e_info(client->event, "Disconnected: %s %s",
+                      reason, client->state.stats);
        }
 
        if (client->state.anvil_sent) {