Event Log messages are entered with one of the following severity levels (from highest to lowest):
|
A fatal error condition has occurred on the switch. |
|
An error condition has occurred on the switch. |
|
A switch service has behaved unexpectedly. |
|
Information on a normal switch event. |
|
Reserved for HP switch internal diagnostic information. |
Using the logging severity
command, you can select a set of Event Log messages according to their severity level and send them to a syslog server. Messages of the selected and higher severity will be sent.
Syntax:
Configures the switch to send all Event Log messages with a severity level equal to or higher than the specified value to all configured Syslog servers.
Default:
debug
(Reports messages of all severity levels.)Use the
no
form of the command to remove the configured severity level and reconfigure the default value, which sends Event Log messages of all severity levels to syslog servers.
NOTE: The severity setting does not affect event notification messages that the switch normally sends to the Event Log. All messages remain recorded in the Event Log.
Event Log messages contain the name of the system module that reported the event. Using the logging system-module
command, you can select a set of Event Log messages according to the originating system module and send them to a syslog server.
Syntax:
[no]
logging system-module <
system-module
>
Configures the switch to send all Event Log messages being logged from the specified system module to configured syslog servers.
Default:
all-pass
(Reports all Event Log messages.)Use the
no
form of the command to remove the configured system module value and reconfigure the default value, which sends Event Log messages from all system modules to syslog servers.You can select messages from only one system module to be sent to a syslog server; you cannot configure messages from multiple system modules to be sent. If you re-enter the command with a different system module name, the currently configured value is replaced with the new one.
NOTE: This setting has no effect on event notification messages that the switch normally sends to the Event Log.