Configuration Guide Syslog Configuration
Syslog Configuration
Overview
During the operation of a device, there are various state changes, such as the link
status up/down, and various events occurring, such as receiving abnormal messages
and handling abnormities. Our product provides a mechanism to generate messages
of fixed format (log message) in case of status change or event occurring. These
messages can be displayed in related windows (console, VTY, etc.) or recorded in
related media (memory buffer, FLASH), or sent to a group of log servers in the
network for the administrators to analyze and locate problems.Meanwhile, in order to
make it easy for administrators to read and manage log messages, these log
messages can be labeled time stamps and serial numbers, and is graded according to
the priority of log information.
Log Message Format
The format of the our log message is as follows:
<priority> seq no: timestamp sysname: %severity
%ModuleName-severity-MNEMONIC: description
They are: <priority> Sequential number timestamp device name module
name-severity – information type: abbre: information contents
Priority value = Device value *8 + Severity
For example:
<189> 226:Mar 5 02:09:10 Ruijie %SYS-5-CONFIG_I: Configured from console by
console
Log Configuration
Log Switch
The log switch is turned on by default. If it is turned off, the device will not print log
information in the user window, or send log information to the syslog server, or record
the log information in the related media (memory buffer, flash).
To turn on or off the log switch, run the following command in the global configuration
mode: