$Log$
+ Revision 612.4 2003/12/07 19:59:13 error
+ * Minor enhancements to a few of the trace file entries
+
Revision 612.3 2003/12/07 19:57:48 error
* Added some useless comments to some of the techdocs/ files
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
struct CitContext *ptr = NULL;
struct CitContext *ToFree = NULL;
- lprintf(9, "RemoveContext() called\n");
if (con==NULL) {
lprintf(5, "WARNING: RemoveContext() called with NULL!\n");
return;
}
+ lprintf(9, "RemoveContext() called\n");
/* Remove the context from the global context list. This needs
* to get done FIRST to avoid concurrency problems. It is *vitally*
logout(con);
unlink(con->temp);
- lprintf(3, "[%3d] Session ended.\n", con->cs_pid);
+ lprintf(3, "Session ended.\n");
syslog(LOG_NOTICE,"Session %d: ended.", con->cs_pid);
/* Deallocate any user-data attached to this session */
/* Free up the memory used by this context */
phree(con);
- lprintf(7, "Done with RemoveContext()\n");
+ lprintf(9, "Done with RemoveContext()\n");
}
}
}
- lprintf(7, "client %d/%d/%01d.%02d (%s)\n",
+ lprintf(7, "Client %d/%d/%01d.%02d (%s)\n",
dev_code,
cli_code,
(rev_level / 100),
(rev_level % 100),
desc);
- syslog(LOG_NOTICE,"session %d: client %d/%d/%01d.%02d (%s) from %s\n",
+ syslog(LOG_NOTICE,"Session %d: Client %d/%d/%01d.%02d (%s) from %s\n",
CC->cs_pid,
dev_code,
cli_code,
}
if (connect(s, (struct sockaddr *) &sin, sizeof(sin)) < 0) {
- lprintf(3, "can't connect to %s:%s: %s\n",
+ lprintf(3, "Can't connect to %s:%s: %s\n",
host, service, strerror(errno));
close(s);
return(-1);
}
/* Goto the correct room */
- lprintf(9, "Switching rooms\n");
+ lprintf(9, "Selected room %s\n", (recps) ? CC->room.QRname : SENTITEMS);
strcpy(hold_rm, CC->room.QRname);
strcpy(actual_rm, CC->room.QRname);
if (recps != NULL) {
}
/* If the user is a twit, move to the twit room for posting */
- lprintf(9, "Handling twit stuff\n");
+ lprintf(9, "Handling twit stuff: %s\n",
+ (CC->user.axlevel == 2) ? config.c_twitroom : "OK");
if (TWITDETECT) {
if (CC->user.axlevel == 2) {
strcpy(hold_rm, actual_rm);
strcpy(actual_rm, force_room);
}
- lprintf(9, "Possibly relocating\n");
+ lprintf(9, "Final selection: %s\n", actual_rm);
if (strcasecmp(actual_rm, CC->room.QRname)) {
getroom(&CC->room, actual_rm);
}
}
/* Go back to the room we started from */
- lprintf(9, "Returning to original room\n");
+ lprintf(9, "Returning to original room %s\n", hold_rm);
if (strcasecmp(hold_rm, CC->room.QRname))
getroom(&CC->room, hold_rm);
/* Tell 'em who's in da house */
lprintf(1,
- "\n*** Citadel/UX messaging server engine v%d.%02d ***\n"
+ "\n\n*** Citadel/UX messaging server engine v%d.%02d ***\n"
"Copyright (C) 1987-2003 by the Citadel/UX development team.\n"
"This program is distributed under the terms of the GNU "
"General Public License.\n\n",