Command Reference Syslog Commands
The buffer size is related to the specific device type.
access switches: 128 K Bytes;
The log severity is 7.
Global configuration mode
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
Emergency case, system cannot run
normally
Problems that need immediate remedy
Information that is normal but needs
attention
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.
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