SYSTEM MANAGEMENT COMMANDS

Related Commands

logging history (3-39) logging trap (3-42) clear logging (3-43)

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)

 

 

 

 

 

3-39

Page 183
Image 183
SMC Networks TigerSwitch 100 manual Logging history, Level Argument Description Syslog Definition