dovecot-2.2: login proxy: Log "disconnecting" message also with ...
dovecot at dovecot.org
dovecot at dovecot.org
Sun May 20 03:26:26 EEST 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/49b832c5de0e
changeset: 14301:49b832c5de0e
user: Timo Sirainen <tss at iki.fi>
date: Wed Mar 07 13:32:40 2012 +0200
description:
login proxy: Log "disconnecting" message also with login_log_format_elements.
diffstat:
src/login-common/login-proxy.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (19 lines):
diff -r 9b78e93e5b71 -r 49b832c5de0e src/login-common/login-proxy.c
--- a/src/login-common/login-proxy.c Wed Mar 07 13:01:23 2012 +0200
+++ b/src/login-common/login-proxy.c Wed Mar 07 13:32:40 2012 +0200
@@ -370,10 +370,11 @@
DLLIST_REMOVE(&login_proxies, proxy);
ipstr = net_ip2addr(&proxy->client->ip);
- i_info("proxy(%s): disconnecting %s%s",
- proxy->client->virtual_user,
- ipstr != NULL ? ipstr : "",
- reason == NULL ? "" : t_strdup_printf(" (%s)", reason));
+ client_log(proxy->client, t_strdup_printf(
+ "proxy(%s): disconnecting %s%s",
+ proxy->client->virtual_user,
+ ipstr != NULL ? ipstr : "",
+ reason == NULL ? "" : t_strdup_printf(" (%s)", reason)));
if (proxy->client_io != NULL)
io_remove(&proxy->client_io);
More information about the dovecot-cvs
mailing list