show log events

show log events [event condition | [all | event component] {severity severity {only}}] {details}

Description

Displays information about the individual events (conditions) that can be logged.

Syntax Description

event condition Specifies the event condition to display.
all Specifies that all events are to be displayed.
event component Specifies that all the events associated with a particular component should be displayed.
severity Specifies the minimum severity level of events to display (if the keyword only is omitted).
only Specifies that only events of the specified severity level are to be displayed.
details Specifies that detailed information, including the message format and parameter types, be displayed.

Default

If severity is not specified, then events of all severity are displayed. If detail is not specified, then summary only information is displayed.

Usage Guidelines

This command displays the mnemonic, message format, severity, and parameter types defined for each condition in the event set specified.

See the command show log for more information about severity levels.

When the detail option is specified, the message format is displayed for the event conditions specified. The message format parameters are replaced by the value of the parameters when the message is generated.

To get a listing of the components present in the system, use the following command:

show log components

Example

The following command displays the event conditions of severity debug-summary or greater in the component STP.InBPDU:

show log events stp.inbpdu severity debug-summary

The following is sample output from this command:

Comp    SubComp     Condition               Severity      Parameters
------- ----------- ----------------------- ------------- ----------
STP     InBPDU      Drop                    Error          2 total
STP     InBPDU      Ign                     Debug-Summary  2 total
STP     InBPDU      Mismatch                Warning        2 total

The following command displays the details of the event condition PDUTrace in the component STP.InBPDU:

show log events stp.inbpdu.pdutrace details

The following is sample output from this command:

Comp    SubComp     Condition               Severity      Parameters
------- ----------- ----------------------- ------------- ----------
STP     InBPDU      Trace                   Debug-Verbose  2 total
0 - string
1 - string (printf)
Port=%0%: %1%

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on all Universal switches supported in this document.