X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fcontext.c;fp=citadel%2Fcontext.c;h=81b597850b1dbfbe00396ea6119ba1014ed80e3e;hp=38e0d03f5eb130614105fc079f481106227d5f6a;hb=e2fa85ce8859f837c1280c377ba537ff6030d519;hpb=aec55667296bcb38139495f328aff9d0d292a0d3 diff --git a/citadel/context.c b/citadel/context.c index 38e0d03f5..81b597850 100644 --- a/citadel/context.c +++ b/citadel/context.c @@ -276,7 +276,12 @@ void terminate_all_sessions(void) for (ccptr = ContextList; ccptr != NULL; ccptr = ccptr->next) { if (ccptr->client_socket != -1) { - CON_syslog(LOG_INFO, "terminate_all_sessions() is murdering %s", ccptr->curr_user); + if (ccptr->IO != NULL) { + CON_syslog(LOG_INFO, "terminate_all_sessions() is murdering %s IO[%ld]CC[%d]", ccptr->curr_user, ccptr->IO->ID, ccptr->cs_pid); + } + else { + CON_syslog(LOG_INFO, "terminate_all_sessions() is murdering %s CC[%d]", ccptr->curr_user, ccptr->cs_pid); + } close(ccptr->client_socket); ccptr->client_socket = -1; killed++;