CLI Reference Guide

35
file flash command. The log file indicates the flash sector for saving system log.
The information in the log
file will not be lost after the switch is restarted and can
be got by the show logging flash
command. This command does not apply to
TL-SL2452.
Syntax
logging file flash level
no logging file flash
Parameter
level —— Severity level of the log information output to each channel. 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 output.
By default, it is 2 indicating that the log information marked with 0~2 will be
saved in the log buffer.
Command Mode
Global Configuration Mode
Example
Enable the log file function and set the severity as 7:
TL-SL2428(config)# logging file flash 7
logging file flash (for TL-SL2452)
Description
The logging file flash command is used to store the log messages in a flie in
the flash on the switch. To disable the log file flash function, please use no
logging file flash command. The log file flash indicates the flash sector for
saving system log. The information in the log file of
the flash will not be lost after
the switch is restarted and can be got by the show logging flash
command.
This command only applies to TL-SL2452.
Syntax
logging file flash
no logging file flash
Command Mode
Global Configuration Mode