beautypg.com

Logging on, Logging history – Accton Technology ES5508 User Manual

Page 254

background image

Command Line Interface

4-42

4

logging on

This command controls logging of error messages, sending debug or error
messages to switch memory. The no form disables the logging process.

Syntax

[no] logging on

Default Setting

None

Command Mode

Global Configuration

Command Usage

The logging process controls error messages saved to switch memory. You
can use the logging history command to control the type of error messages
that are stored.

Example

Related Commands

logging history (4-42)
clear log (4-45)

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.

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).

Console(config)#logging on
Console(config)#