C
OMMAND
L
INE
I
NTERFACE
4-58
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-58)
clear log (4-62)
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).
Console(config)#logging on
Console(config)#