User Manual

Table Of Contents
SWX3220(config)#logging trap error
4.10.5 Set log console output
[Syntax]
logging stdout info
no logging stdout info
[Initial value]
no logging stdout info
[Input mode]
global configuration mode
[Description]
Outputs the informational level SYSLOG to the console.
If this command is executed with the "no" syntax, the log is not output.
[Example]
Output the informational level SYSLOG to the console.
SWX3220(config)#logging stdout info
4.10.6 Set log output in event units
[Syntax]
logging event type
no logging type
[Parameter]
type : Type of events specified for log output
Setting value Description
lan-map LAN map
[Initial value]
no logging event lan-map
[Input mode]
global configuration mode
[Description]
Enables log output for the specified type of events.
If this command is executed with the "no" syntax, the log is not output.
[Example]
Enable log output for LAN map.
SWX3220(config)#logging event lan-map
4.10.7 Back up log
[Syntax]
save logging
[Input mode]
unprivileged EXEC mode, privileged EXEC mode
[Description]
Saves all logs accumulated in RAM to Flash ROM.
Logs are accumulated in RAM, and are periodically backed up automatically to Flash ROM, but you can use this command to
back up this data manually.
If the logging backup sd enable command has been set and an SD card is inserted, the log data is saved to Flash ROM and also
simultaneously saved to the SD card with the following file name.
64 | Command Reference | Maintenance and operation functions