TP-Link TL-SG2216 Switch User Manual


 
logging file flash
Description
The logging file flash command is used to store the log messages in a file 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.
Syntax
logging file flash
no logging file flash
Command Mode
Global Configuration Mode
Example
Enable the log file flash function:
TL-SG2424(config)#logging file flash
logging file flash frequency
Description
The logging file flash frequency command is used to specify the frequency to
synchronize the system log file in the log buffer to the flash. To resume the
default synchronizing frequency, please use the no logging file flash
frequency command.
Syntax
logging file flash frequency { periodic periodic | immediate }
no logging file flash frequency
Parameter
periodic —— The frequency to synchronize the system log file in the log buffer
to the flash, ranging from 1 to 48 hours. By default, the synchronization process
takes place every 24 hours.
immediate —— The system log file in the buffer will be synchronized to the
flash immediately. This option will reduce the life of the flash and is not
recommended.
45