This command limits syslog messages saved to switch memory based on
logging history
severity. The no form returns the logging of syslog messages to the default
level.
S
YNTAX
logging history {flash | ram} level
no logging history {flash | ram}
D
EFAULT
Flash: errors (level 3 - 0)
RAM: debugging (level 7 - 0)
C
OMMAND
Global Configuration
C
OMMAND
The message level specified for flash memory must be a higher priority
(i.e., numerically lower) than that specified for RAM.
E
XAMPLE
Console(config)#logging history ram 0
Console(config)#
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 levels listed below. Messages sent include the
selected level down to level 0. (Range: 0-7)
Table 40: Logging Levels
Level
Severity Name
7
debugging
6
informational
5
notifications
4
warnings
3
errors
2
critical
1
alerts
0
emergencies
S
ETTING
M
ODE
U
SAGE
– 611 –
| System Management Commands
C
24
HAPTER
Description
Debugging messages
Informational messages only
Normal but significant condition, such as cold start
Warning conditions (e.g., return false, unexpected
return)
Error conditions (e.g., invalid input, default used)
Critical conditions (e.g., memory allocation, or free
memory error - resource exhausted)
Immediate action needed
System unusable
Event Logging