Logging facility, Logging history, Table 53: logging levels – LevelOne GTL-2691 User Manual

Page 799

Advertising
background image

C

HAPTER

24

| System Management Commands

Event Logging

– 799 –

logging facility

This command sets the facility type for remote logging of syslog messages.

Use the no form to return the type to the default.

S

YNTAX

logging facility type
no logging facility

type - A number that indicates the facility used by the syslog server

to dispatch log messages to an appropriate service. (Range: 16-23)

D

EFAULT

S

ETTING

23

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

The command specifies the facility type tag sent in syslog messages. (See

RFC 3164.) This type has no effect on the kind of messages reported by

the switch. However, it may be used by the syslog server to sort messages

or to store messages in the corresponding database.

E

XAMPLE

Console(config)#logging facility 19

Console(config)#

logging history

This command limits syslog messages saved to switch memory based on

severity. The no form returns the logging of syslog messages to the default

level.

S

YNTAX

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 levels listed below. Messages sent include the

selected level down to level 0. (Range: 0-7)

Table 53: Logging Levels

Level

Severity Name

Description

7

debugging

Debugging messages

6

informational

Informational messages only

5

notifications

Normal but significant condition, such as cold start

Advertising