Command Reference Syslog Commands
3. access switches: 128 K Bytes;
4. other devices: 4 K Bytes
The log severity is 7.
Command
Mode
Global configuration mode
Usage Guide
The memory buffer for log is used in recycled manner. That is, when the memory buffer with the
specified size is full, the oldest information will be overwritten. To show the log information in the
memory buffer, run the show logging command in privileged user mode.
The logs in the memory buffer are temporary, and will be cleared in case of device restart or the
execution of the clear logging command in privileged user mode. To trace a problem, it is required to
record logs in flash or send them to Syslog Server.
The log information is classified into the following 8 levels (Table 1):
Table-1
Keyword Level Description
Emergencies 0 Emergency case, system cannot run normally
Alerts 1 Problems that need immediate remedy
Critical 2 Critical conditions
Errors 3 Error message
warnings 4 Alarm information
Notifications 5 Information that is normal but needs attention
informational 6 Descriptive information
Debugging 7 Debugging messages
Lower value indicates higher level. That is, level 0 indicates the information of the highest level.
When the level of log information to be displayed on devices is specified, the log information at or
below the set level will be allowed to be displayed.
After running the system for a long time, modifying the log buffer size especially in
condition of large buffer may fails due to the insufficent availble continuous memory.
The failure message will be shown. It is recommended to modify the log buffer size as
soon as the system starts.
Configuration
Examples
The following example allows logs at and below severity 6 to be recorded in the memory buffer sized
10,000 bytes.
Ruijie(config)# logging buffered 10000 6
Related
Commands
Command Description