$Log$
+ Revision 590.70 2002/01/17 10:48:36 error
+ * cosmetic fixes in the new trace file functionality
+
Revision 590.69 2002/01/17 10:32:14 error
* lprintf() now logs the session ID for each log entry within a session.
Also SMTP, IMAP, POP3 and Citadel protocol commands are differentiated.
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
rec_log(CL_TERMINATE, con->curr_user);
unlink(con->temp);
- lprintf(3, "[%3d] session ended.\n", con->cs_pid);
+ lprintf(3, "[%3d] Session ended.\n", con->cs_pid);
syslog(LOG_NOTICE,"session %d: ended", con->cs_pid);
if ((config.c_maxsessions > 0)&&(num_sessions > config.c_maxsessions))
con->nologin = 1;
- lprintf(3, "[%3d] session started.\n", con->cs_pid);
+ lprintf(3, "Session started.\n");
/* Run any session startup routines registered by loadable modules */
PerformSessionHooks(EVT_START);
* microsecond accuracy and your OS supports it, change
* %03ld to %06ld and remove " / 1000" after tv.tv_usec.
*/
- if (CC) {
+ if (CC && CC->cs_pid) {
fprintf(stderr,
"%04d/%02d/%02d %2d:%02d:%02d.%03ld [%3d] %s",
tim->tm_year + 1900, tim->tm_mon + 1,