2 format and severity of the log information, 3 the three-level switch of log message – Amer Networks SS2R48G4i V2 User Manual
Page 73
SS2R24G4i/SS2R48G4i
62
At present, the system log of the switch can be outputted through five directions( aka log
channels )
z
Output log information to local console through Console port.
z
Output log information to remote Telnet terminal or Dumb terminal, which helps remote
maintenance.
z
Allocate log buffer of proper size inside the switch to record log information.
z
Configure loghost. The log system will directly send log information to loghost, and save it in
the form of file in the loghost so the information can be reviewed on demand.
5.6.1.2 Format And Severity Of The Log Information
The log information format is compatible with the 4.3 BSD UNIX syslog protocol, so we can record
and analyze the log by the systlog (system log protect session) on the UNIX/LINUX, as well as syslog
similar applications on PC.
The log information is classified into eight classes by severity or emergency procedure. One level
per value and the higher the emergency level the log information has, the smaller its value will be. For
example, the level of critical is 2, and warning is 4, debugging is leveled at 7, so the critical is higher
than warnings which no doubt is high than debugging.
Severity Value
Description
Syslog
define
critical 2
Critical conditions
LOG_CRIT
warnings 4
Warning conditions
LOG_WARNING
notifications 5
Normal but significant condition
LOG_NOTICE
debugging 7
Debugging messages
LOG_DEBUG
Right now the switch can generate information of following two levels
z
Up/down switch, topology change, aggregate port state change of the interface are classified
warnings
z
The display level of the output monitored by shell Configure command is notifications.
Attention By default the system log is disabled. When it is enabled, because of the classification
and output of the information, especially when there is a large amount of information under
processing, the system performance will be effected.
5.6.1.3 The three-level switch of log message
The system log uses a three-level switch architecture to control the output of the log message
global log switch, log output channel state and the module state of channel filter Items.
z
Only when the global switch is on, the log message are written to the log message queue.
z
After the switch boots, the system log task is started. The aim of this task is to read out every
log message from the log message queue, and to send them out through every output
channel. Only when the output channel is in “Enable” state, the log message can be sent out
through it.
When the log message enters the output channel, it will be checked according to the output channel’s
filter items, only when the source module of the log message is marked as “On” in the filter items, the