Chapter 4 Command-Line Reference 4-35
Related Commands
logging history (4-35)
clear logging (4-36)
4.3.3.8 logging historyUse 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 – The event history stored in Flash memory (permanent memory).
■ram – The event history stored in temporary RAM (memory flushed on power
reset).
■level – 0 to 7 (Messages saved include the selected level down to level 0.)
Default Setting
Flash: errors (level 3 to 0)
RAM: warnings (level 7 to 0)
TABLE4-8 Error Levels
Level Argument Level Description
debugging 7 Debugging messages
informational 6 Informational messages only
notifications 5 Normal but significant condition, such as cold start
warnings 4 Warningconditions (for example, return false, unexpected
return)
errors 3 Error conditions (for example, invalid input, default used)
critical 2 Critical conditions (for example, memory allocation, or
free memory error - resource exhausted)
alerts*
* There are no Level 0 or Level 1 error messages for the current firmware release.
1 Immediate action needed
emergencies*0 System unusable