show logging

Displays the Syslog messages in the device local buffer.
Syntax
show logging
Modes

User EXEC mode

Privileged EXEC mode

Global configuration mode

Interface configuration mode

The show logging command displays the following information.

Output field Description
Syslog logging The state (enabled or disabled) of the Syslog buffer.
messages dropped The number of Syslog messages dropped due to user-configured filters. By default, the software logs messages for all Syslog levels. You can disable individual Syslog levels, in which case the software filters out messages at those levels. Each time the software filters out a Syslog message, this counter is incremented.
flushes The number of times the Syslog buffer has been cleared by the clear logging command or equivalent Web Management Interface option.
overruns The number of times the dynamic log buffer has filled up and been cleared to hold new entries. For example, if the buffer is set for 100 entries, the 101st entry causes an overrun. After that, the 201st entry causes a second overrun.
level The message levels that are enabled. Each letter represents a message type and is identified by the key (level code) beneath the value. If you disable logging of a message level, the code for that level is not listed.
messages logged The total number of messages that have been logged since the software was loaded.
level code The message levels represented by the one-letter codes.
Examples

The following is sample output from the show logging command.

device# show logging

    Syslog logging: enabled ( 0 messages dropped, 0 flushes, 0 overruns)
        Buffer logging: level ACDMEINW, 5 messages logged
        level code: A=alert C=critical D=debugging M=emergency E=error
    I=informational N=notification W=warning

    Static Log Buffer:
    Mar 07 15:14:42:I:System: Stack unit 1   Power supply 2  is up

    Dynamic Log Buffer (4000 lines):
    Mar 07 15:18:48:I:conf_archive:Succeeded to full revert <========================== This is message about revert result
    Mar 07 15:18:47:I:conf_archive:Revert due to revert timeout
    Mar 07 15:17:40:A:Startup Config Parsing Returned Error. Please verify the system configuration.
    Mar 07 15:14:48:I:System: Interface ethernet mgmt1, state up
    Mar 07 15:14:42:I:System: Stack unit 1   Power supply 2  is up
    ICX7850-48FS Router#
The following sample shows output from the show logging command when the RFC 5424 format has been enabled.
device(config)# show logging
Syslog logging: enabled (RFC: 5424, 0 messages dropped, 1 flushes, 0 overruns)
    Buffer logging: level ACDMEINW, 12 messages logged
    level code: A=alert C=critical D=debugging M=emergency E=error
I=informational N=notification W=warning

Dynamic Log Buffer (4000 lines):
2023-10-31T19:11:45Z:I: ruckuswireless.com device ICX7850_Router - General [meta sequenceId=12] BOM MGMT Agent: Failed to connect to network controller at 10.177.86.160 Error:  
2023-10-31T19:09:10Z:I: ruckuswireless.com device ICX7850_Router - System [meta sequenceId=11] BOM COPY COMPLETED 
2023-10-31T19:09:10Z:I: ruckuswireless.com device ICX7850_Router - System [meta sequenceId=10] BOM Security: startup-config was changed  
2023-10-31T19:09:10Z:I: ruckuswireless.com device ICX7850_Router - System [meta sequenceId=9] BOM COPY_CONFIGURATION_TO_FLASH 
2023-10-31T19:09:10Z:I: ruckuswireless.com device ICX7850_Router - General [meta sequenceId=8] BOM Security: startup-config was changed by super from CONSOLE
.
.
.
History
Release version Command history
09.0.10 The output of this command was modified to include details for Configuration Archive and Replace configurations.