[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.
SWR2311P(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.
SWR2311P(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
[Input mode]
global configuration mode
[Description]
Outputs the error level log to SYSLOG.
If this command is executed with the "no" syntax, the log is not output.
[Example]
Output the error level log to SYSLOG.
SWR2311P(config)#logging trap error
4.9.5 Set log console output
[Syntax]
logging
stdout
info
no
logging
stdout
info
Command Reference | Maintenance and operation functions |
47