logging trap
The logging trap command filters messages logged to the syslog servers based on
severity. The command restricts the logging of error messages sent to the syslog
servers to only those messages that correspond to a specified severity level. The no
logging trap command disables the logging of these messages to the syslog servers.
Group Access
All
Command Mode
Global Configuration
Command Line Usage
logging trap {alerts | critical | debugging | emergencies | errors | informational |
notifications | warnings}
no logging trap {alerts | critical | debugging | emergencies | errors | informational
| notifications | warnings}
Command Syntax
alerts
critical
debugging
emergencies
errors
informational
notifications
warnings
Command Default
notifications level (severity=5)
(severity=1) immediate actions needed
(severity=2) critical condition
(severity=7) debugging messages
(severity=0) system is unusable
(severity=3) error conditions
(severity=6) informational messages
(severity=5) normal but significant conditions
(severity=4) warning conditions
System Administration Commands
1-45