C
OMMAND

L

INE

I

NTERFACE

3-42

Example
Related Commands
logging history (3-42)
logging trap (3-45)
clear logging (3-47)

logging history

Use this command to limit syslog messages saved to switch
memory based on severity. The no form returns the logging of
syslog messages to the default level.
Syntax
logging history {flash | ram} level
no logging history {flash | ram}
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).
level - One of the level arguments listed below. Messages sent
include the selected level up through level 0.
Console(config)#logging on
Console(config)#
Level Argument Level Description Syslog Definition
emergencies 0 System unusable LOG_EMERG
alerts 1 Immediate action
needed
LOG_ALERT
critical 2 Critical conditions
(e.g., memory
allocation, or free
memory error -
resource exhausted)
LOG_CRIT
b_mgmt.book Page 42 Tuesday, July 8, 2003 5:24 PM