-
- Downloads
The problem: the sysop (me) is not notified of critical errors (e.g....
The problem: the sysop (me) is not notified of critical errors (e.g. synchro.net zone file problems) in a timely manner. Part of the solution: notify a configured user (e.g. user #1) via short-message/telegram and email/netmail logged-errors when messages of a configured severity (e.g. "Critical") are logged. The second part of the solution (coming next) will be allowing timed events to log a message of a configurable severity logged when the event fails (returns a non-zero error level to sbbs). I'm saving the error-notification-user-number and log-severity as part of the node.cnf file because: - that's where the validation user number is already set - I can conceive of a large system were certain node ranges (different instances of sbbs) might want different operators to be notified of logged-errors This also means I eliminated all the legacy com port/modem stuff from the end of the node.cnf file. None of that is used in sbbs v3. Also included in this commit are improvements around logging: - reduce the severity of UDP recvfrom failures in services - a more detailed log message when the mail server successfully delivers an email (via SMTP) - easier to answer the question: was that email you/they sent delivered successfully?
Showing
- src/sbbs3/ftpsrvr.c 1 addition, 1 deletionsrc/sbbs3/ftpsrvr.c
- src/sbbs3/logfile.cpp 6 additions, 1 deletionsrc/sbbs3/logfile.cpp
- src/sbbs3/mailsrvr.c 7 additions, 5 deletionssrc/sbbs3/mailsrvr.c
- src/sbbs3/main.cpp 2 additions, 2 deletionssrc/sbbs3/main.cpp
- src/sbbs3/postmsg.cpp 47 additions, 0 deletionssrc/sbbs3/postmsg.cpp
- src/sbbs3/sbbs.h 2 additions, 1 deletionsrc/sbbs3/sbbs.h
- src/sbbs3/scfgdefs.h 2 additions, 0 deletionssrc/sbbs3/scfgdefs.h
- src/sbbs3/scfglib1.c 2 additions, 43 deletionssrc/sbbs3/scfglib1.c
- src/sbbs3/scfgsave.c 2 additions, 28 deletionssrc/sbbs3/scfgsave.c
- src/sbbs3/services.c 2 additions, 2 deletionssrc/sbbs3/services.c
- src/sbbs3/websrvr.c 1 addition, 1 deletionsrc/sbbs3/websrvr.c
Loading
Please register or sign in to comment