Log Levels
Synchronet supports multiple “log levels”. You can configure these as a “least important I want to see” type setting from the ctrl/sbbs.ini
file or from the Synchronet Control Panel.
The levels are as follows:
Name | Description | Interpretation | Examples | Corrective action required |
LOG_EMERG | System is Unstable | (Not used in current code) | ||
LOG_ALERT | action must be taken immediately | (Not used in current code) | ||
LOG_CRIT | critical conditions | Something very bad happened | Out of memory, open file failures, socket creation errors, etc. | The sysop is expected to need to take some action to restore functionality. If the action is not obvious, they should ask for help. |
LOG_ERR | error conditions | Something bad happened | File permission error, no such directory, corrupted message base, etc. | The sysop is expected to need to take some action to restore functionality. If the action is not obvious, they should ask for help. |
LOG_WARNING | warning conditions | Something unexpected happened | Unexpected socket state, unable to create directory, failed password attempts, service disabled in INI file, etc. | Sysop should read the warning and may or may not take action. The system is expected to be functional aside from the connection the warning is logged on. |
LOG_NOTICE | normal but significant condition | Something somewhat unusual happened | Block IP address detected, too many mail recipients on an E-mail, File deleted or renamed, directory created, terminal connection terminated abnormally, ignored service is configured, etc | No action is expected. This is normal behavior, but something the Sysop should be able to find out about |
LOG_INFO | informational | Something happened | Unknown user, file transferred, user connected, system started, etc. | No action expected. Status update style messages |
LOG_DEBUG | debug-level messages | System is running | Send data to user, set up a JavaScript context, Various verbose messages. | No action expected. Should be of interest to developers only. May be useful for reporting a bug. |