37
no
logging file flash level
command. This command only applies to
TL-SL2452.
Syntax
logging file flash level
level
no logging file flash level
Parameter
level
—— Severity level of the log message.
There are 8 severity levels marked
with values 0-7. The smaller value has the higher priority. Only the log with the
same or smaller severity level value will be saved to the flash. By default, it is 2
indicating that the log message marked with 0~2 will be saved in the log flash.
Command Mode
Global Configuration Mode
Example
Save the log messages with their severities equal or higher than 7 to the flash :
TL-SL2452(config)#logging file flash level
7
clear logging
Description
The
clear
logging
command is used to clear the information in the log buffer
and log file.
Syntax
clear
logging
[ buffer | flash ]
Parameter
buffer | flash —The output channels: buffer and flash. Clear the information of
the two channels, by default.
Command Mode
Global Configuration Mode
Example
Clear the information in the log file:
TL-SL2428(config)# clear
logging
buffer