System Management Commands
4-474
Related Commands
show logging (4-47)
show loggingThis command displays the logging configuration, along with any system and event
messages stored in memory.
Syntax
show logging {flash | ram | sendmail | trap}
•flash - Event history stored in flash memory (i.e., permanent memory).
•ram - Event history stored in temporary RAM (i.e., memory flushed on
power reset).
•sendmail - Displays settings for the SMTP event handler (page 4-51).
•trap - Displays settings for the trap function.
Default Setting
None
Command Mode
Privileged Exec
Example
The following example shows that system logging is enabled, the message level for
flash memory is “errors” (i.e., default level 3 - 0), the message level for RAM is
“debugging” (i.e., default level 7 - 0), and lists one sample error.
Console#show logging flash
Syslog logging: Enable
History logging in FLASH: level errors
Console#show logging ram
Syslog logging: Enable
History logging in RAM: level debugging
[0] 02:07:30 01/01/2001
"STA topology change notification."
level: 6, module: 6, function: 1, and event no.: 1
Console#
Table 4-19 show logging flash/ram- display description
Field Description
Syslog logging Shows if system logging has been enabled via the logging on command.
History logging in FLASH The message level(s) reported based on the logging history command.
History logging in RAM The message level(s) reported based on the logging history command.
Messages Any system and event messages stored in memory.