CLI Reference Guide Syslog Configuration Commands
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 configuration example below allows logs at and below severity 6 to be recorded in the memory
buffer sized 10,000 bytes.
Ruijie(config)# logging buffered 10000 6
Record logs on different devices.
Show the logs in the buffer.
Clear the logs in the log buffer.
logging console
Use this command to set the severity of logs that are allowed to be displayed on the console. The no
form of the command disables displaying the logs on the console.
logging console level
no logging console
Severity of log messages, 0 to 7. The name of the severity or
the numeral can be used. For the details of log severity, see
table-1.
Global configuration mode.
When a log severity is set here, the log messages at or below that severity will be displayed on the
console.
The show logging command displays the related setting parameters and statistics of the log.
The example below sets the severity of log that is allowed to be displayed on the console as 6:
Ruijie(config)# logging console informational
Record logs on different devices.