From 5391399a656ab27f26749a6a76573ebb9b501d86 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Wed, 31 Aug 2011 08:00:23 +0000 Subject: [PATCH] Correct logging expressions --- citadel/context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/citadel/context.c b/citadel/context.c index c1c15449b..f54e3e57d 100644 --- a/citadel/context.c +++ b/citadel/context.c @@ -301,7 +301,7 @@ void terminate_idle_sessions(void) } end_critical_section(S_SESSION_TABLE); if (killed > 0) - CtdlLogPrintf(CTDL_INFO, "Terminated %d idle sessions\n", killed); + CtdlLogPrintf(CTDL_INFO, "Scheduled %d idle sessions for termination\n", killed); if (longrunners > 0) CtdlLogPrintf(CTDL_INFO, "Didn't terminate %d protected idle sessions;\n", killed); } @@ -579,7 +579,7 @@ void context_cleanup(void) rem = ptr->next; --num_sessions; - CtdlLogPrintf(CTDL_DEBUG, "Purging session %d\n", ptr->cs_pid); + CtdlLogPrintf(CTDL_DEBUG, "Purging session #%d %s\n", ptr->cs_pid, ptr->ServiceName); RemoveContext(ptr); free (ptr); ptr = rem; -- 2.30.2