From 0c9eec737156e3296a5897aee66e44f68665e9d5 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Mon, 4 Aug 2003 19:32:07 +0000 Subject: [PATCH] Changed mbsebbs logging --- ChangeLog | 1 + mbsebbs/mbsebbs.c | 3 +-- mbsebbs/user.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 54dc091f..fb381c3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22,6 +22,7 @@ v0.37.5 12-Jul-2003 Removed debug logging for userrecord i/o During virusscan of file uploads, the mbtask timeout timer is set to one hour to support very long scans. + Changed logging during user login. mbsetup: Added menu entry 1.5.21 for setting maximum allowed logins. diff --git a/mbsebbs/mbsebbs.c b/mbsebbs/mbsebbs.c index d9b81d88..e2675622 100644 --- a/mbsebbs/mbsebbs.c +++ b/mbsebbs/mbsebbs.c @@ -115,7 +115,7 @@ int main(int argc, char **argv) Syslog('+', "CONNECT %s", p); if ((p = getenv("CALLER_ID")) != NULL) if (strncmp(p, "none", 4)) - Syslog('+', "CALLER %s", p); + Syslog('+', "CALLER_ID %s", p); /* * Initialize @@ -197,7 +197,6 @@ int main(int argc, char **argv) printf("No BBS on this port allowed!\n\n"); Quick_Bye(MBERR_OK); } - Syslog('b', "Node number %d", iNode); /* * Display Connect String if turned on. diff --git a/mbsebbs/user.c b/mbsebbs/user.c index 1a9b1370..c20e3202 100644 --- a/mbsebbs/user.c +++ b/mbsebbs/user.c @@ -232,7 +232,7 @@ void user() } else strncpy(FirstName, UserName, sizeof(FirstName)-1); strncpy(UserName, usrconfig.sUserName, sizeof(UserName)-1); - Syslog('+', "%s On-Line at %s", UserName, ttyinfo.comment); + Syslog('+', "%s On-Line at \"%s\", node %d", UserName, ttyinfo.comment, iNode); IsDoing("Just Logged In"); /*