Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
config:loglevels [2019/01/14 23:43] – digital man | monitor:loglevels [2023/01/23 14:00] (current) – LOG_CRIT *is* used in the current code digital man | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Log Levels ====== | ====== Log Levels ====== | ||
- | Synchronet supports multiple "log levels" | + | Synchronet supports multiple "log levels" |
The levels are as follows: | The levels are as follows: | ||
Line 8: | Line 8: | ||
| LOG_EMERG | System is Unstable | | (Not used in current code) | | | | LOG_EMERG | System is Unstable | | (Not used in current code) | | | ||
| LOG_ALERT | action must be taken immediately | | (Not used in current code) | | | | LOG_ALERT | action must be taken immediately | | (Not used in current code) | | | ||
- | | LOG_CRIT | Critical condtions | + | | LOG_CRIT | critical conditions |
- | | LOG_ERR | "error conditions" | + | | 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. |
- | | LOG_WARNING | warning conditions | Something | + | | LOG_WARNING | warning conditions | Something |
- | | 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. | + | | 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. |
| LOG_INFO | informational | Something happened | Unknown user, file transferred, | | LOG_INFO | informational | Something happened | Unknown user, file transferred, | ||
| LOG_DEBUG | debug-level messages | System is running | Send data to user, set up a JavaScript context, Various verbose messages. | No action expected. | | LOG_DEBUG | debug-level messages | System is running | Send data to user, set up a JavaScript context, Various verbose messages. | No action expected. |