Chapter 50 Log Configuration DGS-3610 Series Configuration Guide
50.2 Log Configuration
50.2.1 Log Switch
The log switch is turned on by default. If it is turned off, the device will not print log
information in the user window, or send log information to the syslog server, or record the log
information in the related media (memory buffer, flash).
To turn on or off the log switch, run the following command in the global configuration mode:
DGS-3610(config)# logging on
DGS-3610(config)# no logging on
Do not turn off the log switch in general case. If you are worrying about too
much information printed, you can reduce it by setting different displaying
levels for device log information.
50.2.2 Configuring the Log Information
Displaying Device
When the log switch is turned on, the log information will be displayed on the console and
also sent to different displaying devices. To configure a different displaying device for
receiving logs, run the following commands in the global configuration mode or privileged
user level:
DGS-3610(config)# logging buffered
[buffer-size | level]
Record log in memory buffer
DGS-3610# termninal monitor
Allow log to be displayed on VTY window
DGS-3610(config)# logging host
Send log information to the syslog sever in the
network
DGS-3610(config)# logging file
flash:filename [max-file-size] [level]
Record log on extended FLASH
Logging Buffered will record log information in the memory buffer. The memory buffer for log
is used in recycled manner. That is, when it is full, the oldest information will be overwritten.
To show the log information in the memory buffer, run show logging at the privileged user
level. To clear the log information in the memory buffer, run clear logging at the privileged
user level.