From: Timo Sirainen Date: Fri, 9 Aug 2024 06:37:13 +0000 (+0300) Subject: login-common: Log aborted logins with "Login aborted" prefix rather than "Disconnected" X-Git-Tag: 2.4.0~1501 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be77dbef0797006dad89ca52bf1c48cd866527c0;p=thirdparty%2Fdovecot%2Fcore.git login-common: Log aborted logins with "Login aborted" prefix rather than "Disconnected" This makes it easier to search the logs for login failures without seeing post-login disconnections. --- diff --git a/src/login-common/client-common.c b/src/login-common/client-common.c index 20fc10eae5..0bf436af15 100644 --- a/src/login-common/client-common.c +++ b/src/login-common/client-common.c @@ -372,7 +372,7 @@ static void login_aborted_event(struct client *client, const char *reason) e->add_int("connected_usecs", timeval_diff_usecs(&ioloop_timeval, &client->created)); - e_info(e->event(), "Disconnected: %s", reason); + e_info(e->event(), "Login aborted: %s", reason); } void client_disconnect(struct client *client, const char *reason)