User Manual

[Example]
Set the SYSLOG server IPv4 address to 192.168.100.1.
SWR2310(config)#logging host 192.168.100.1
Set the SYSLOG server IPv6 address to fe80::2a0:deff:fe11:2233.
SWR2310(config)#logging host fe80::2a0:deff:fe11:2233%vlan1
4.9.2 Set log output level (debug)
[Syntax]
logging trap debug
no logging trap debug
[Initial value]
no logging trap debug
[Input mode]
global configuration mode
[Description]
Output the debug level log to SYSLOG. If this command is executed with the "no" syntax, the log is not output.
Since enabling debug level will output a large volume of log data, you should enable this only if necessary.
If you use the logging host command to send notifications to the SYSYLOG server, you should ensure that there is sufficient
disk space on the host. With the default setting, this is not output.
[Example]
Output the debug level log to SYSLOG.
SWR2310(config)#logging trap debug
4.9.3 Set log output level (informational)
[Syntax]
logging trap informational
no logging trap informational
[Initial value]
logging trap informational
[Input mode]
global configuration mode
[Description]
Outputs the informational level log to SYSLOG.
If this command is executed with the "no" syntax, the log is not output.
[Note]
This can be output to the console by executing the logging stdout info command.
[Example]
Output the informational level log to SYSLOG.
SWR2310(config)#logging trap informational
4.9.4 Set log output level (error)
[Syntax]
logging trap error
no logging trap error
[Initial value]
logging trap error
Command Reference | Maintenance and operation functions | 49