Command Reference Syslog Commands
logging on
Turns on the log switch.
show logging
Shows the logs in the buffer.
clear logging
Clears the logs in the log buffer.
Platform
Description
N/A
logging console
Use this command to set the severity of logs that are allowed to be displayed on the console in global
configuration mode. Use the no form of this command to prohibit printing log messages on the
console.
logging console [ level ]
no logging console
Parameter
Description
Parameter Description
level
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.
Defaults
Debugging (7).
Command
Mode
Global configuration mode
Usage Guide
When a log severity is set, 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.
Configuration
Examples
The following example sets the severity of log that is allowed to be displayed on the console as 6:
Ruijie(config)# logging console informational
Related
Commands
Command Description
logging on
Turns on the log switch.
show logging
Shows the logs and related log configuration
parameters in the buffer.
Platform
Description
N/A