
Related Commands
logging history
clear logging
4.3.3.8logging 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 – 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.)
TABLE 4-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 | Warning conditions (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* | 1 | Immediate action needed |
emergencies* | 0 | System unusable |
* There are no Level 0 or Level 1 error messages for the current firmware release.
Default Setting
Flash: errors (level 3 to 0)
RAM: warnings (level 7 to 0)
Chapter 4