Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
config:loglevels [2015/08/29 02:25] – created with info from gen_defs.h and gleaned via grep. deucemonitor:loglevels [2023/01/23 14:00] (current) – LOG_CRIT *is* used in the current code digital man
Line 1: Line 1:
-====== Loglevels ======+====== Log Levels ======
  
-Synchronet supports multiple "log levels" You can configure these as a "least important I want to see" type setting from the INI file or from sbbsctrl.+Synchronet supports multiple "log levels" You can configure these as a "least important I want to see" type setting from the ''[[dir:ctrl]]/[[config:sbbs.ini]]'' file or from [[:monitor:sbbsctrl|the Synchronet Control Panel]].
  
-The levens are as follows:+The levels are as follows:
  
-| Name | Description | Examples | Corrective action required | +| Name | Description | Interpretation | Examples | Corrective action required | 
-| 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 (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 conditionsOut of memory, 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_ERR | error conditions | Something bad happened | File permission error, no such directory, corrupted message baseetc. | 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 | Unepected 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_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 | 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 behaviour, but something the Sysop should be able to find out about | +| 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 | Unknown user, file transferred, user connected, system started, etc. | No action expected.  Status update style messages | +| 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 | 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. |+| 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. |
  
 ===== See Also ===== ===== See Also =====
-  * [[:config:|config index]]+  * [[:config:|Configuration]]
  
-{{tag>}}+{{tag>logs}}
  
monitor/loglevels.1440840320.txt · Last modified: 2015/08/29 02:25 by deuce
Back to top
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0