beautypg.com

Show logging – Accton Technology VS4512DC User Manual

Page 185

background image

System Management Commands

4-39

show logging

This 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-43).
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
[0] 0:0:5 1/1/1 "PRI_MGR_InitDefault function fails."
level: 3, module: 13, function: 0, and event no.: 0
Console#show logging ram
Syslog logging: Enable
History logging in RAM: level debugging
[0] 0:0:5 1/1/1 PRI_MGR_InitDefault function fails."
level: 3, module: 13, function: 0, and event no.: 0
Console#

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.

This manual is related to the following products: