SYSTEM MANAGEMENT COMMANDS
Related Commands
logging history
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.
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., | LOG_CRIT |
|
| memory allocation, or |
|
|
| free memory error - |
|
|
| resource exhausted) |
|
|
|
|
|
errors | 3 | Error conditions (e.g., | LOG_ERR |
|
| invalid input, default |
|
|
| used) |
|
|
|
|
|
warnings | 4 | Warning conditions (e.g., | LOG_WARNING |
|
| return false, unexpected |
|
|
| return) |
|
|
|
|
|