TP-Link TL-SG3424P Switch User Manual


 
80
Chapter 15 Log Commands
The log information will record the settings and operation of the switch respectively for you to
monitor operation status and diagnose malfunction.
logging local buffer
Description
The logging local buffer command is used to configure the severity level and
the status of theconfiguration input to the log buffer. To restore to the default
configuration, please use no logging local buffer command.
Local Log is the
log information saved in the switch. It has two output channels, that is, it can be
saved to two different positions, log buffer and log file. Indicates the RAM for
saving system log and the inforamtion in the log buffer can be got by show
logging buffer command. It will be lost when the switch is restarted.
Syntax
logging local buffer {level} [ disable | enable ]
no logging local buffer
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 7 indicating that all the log information will be saved in the log
buffer.
disable | enable —— Disable or enable the log buffer. By default, it is enabled.
Command Mode
Global Configuration Mode
Example
Enable the log buffer function and set the severity as 6:
TP-LINK(config)# logging local buffer 6 enable
logging local flash
Description