beautypg.com

Logging history, Logging history -39 – SMC Networks TigerSwitch 100 User Manual

Page 183

background image

S

YSTEM

M

ANAGEMENT

C

OMMANDS

3-39

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.,
memory allocation, or
free memory error -
resource exhausted)

LOG_CRIT

errors

3

Error conditions (e.g.,
invalid input, default
used)

LOG_ERR

warnings

4

Warning conditions (e.g.,
return false, unexpected
return)

LOG_WARNING