dovecot-2.2: stats: When logging about a session crash, log also...

dovecot at dovecot.org dovecot at dovecot.org
Sun May 20 03:26:27 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/74d3f14dec5a
changeset: 14329:74d3f14dec5a
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Mar 12 17:36:29 2012 +0200
description:
stats: When logging about a session crash, log also its service.

diffstat:

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

diffs (16 lines):

diff -r 63f3bb8462b4 -r 74d3f14dec5a src/stats/mail-session.c
--- a/src/stats/mail-session.c	Mon Mar 12 14:32:23 2012 +0200
+++ b/src/stats/mail-session.c	Mon Mar 12 17:36:29 2012 +0200
@@ -46,9 +46,10 @@
 
 static void mail_session_idle_timeout(struct mail_session *session)
 {
-	i_warning("Session %s (user %s) appears to have crashed, "
+	i_warning("Session %s (user %s, service %s) appears to have crashed, "
 		  "disconnecting it",
-		  guid_128_to_string(session->guid), session->user->name);
+		  guid_128_to_string(session->guid), session->user->name,
+		  session->service);
 	mail_session_disconnect(session);
 }
 


More information about the dovecot-cvs mailing list