System Management Commands

4-41

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 or sent
to remote syslog servers. You can use the logging history command to
control the type of error messages that are stored in memory. You can use the
logging trap command to control the type of error messages that are sent to
specified syslog servers.
Example
Related Commands
logging history (4-42)
logging trap (4-44)
clear log (4-44)
Console(config)#logging on
Console(config)#