dovecot-2.1: stats: If forcibly disconnecting a session, show th...

dovecot at dovecot.org dovecot at dovecot.org
Mon Sep 5 11:13:21 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/7669b0fbada5
changeset: 13397:7669b0fbada5
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Sep 05 11:13:12 2011 +0300
description:
stats: If forcibly disconnecting a session, show the session's username also.

diffstat:

 src/stats/mail-session.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r 4ddbbfa1c515 -r 7669b0fbada5 src/stats/mail-session.c
--- a/src/stats/mail-session.c	Mon Sep 05 10:32:47 2011 +0300
+++ b/src/stats/mail-session.c	Mon Sep 05 11:13:12 2011 +0300
@@ -37,8 +37,9 @@
 
 static void mail_session_idle_timeout(struct mail_session *session)
 {
-	i_warning("Session %s appears to have crashed, disconnecting it",
-		  guid_128_to_string(session->guid));
+	i_warning("Session %s (user %s) appears to have crashed, "
+		  "disconnecting it",
+		  guid_128_to_string(session->guid), session->user->name);
 	mail_session_disconnect(session);
 }
 


More information about the dovecot-cvs mailing list