logging on

Enables local syslog logging.
Syntax
logging on
no logging on
Command Default

Local syslog logging is enabled by default.

Modes

Global configuration mode

Usage Guidelines

This command enables local syslog logging with the following defaults:

  • Messages of all severity levels (Emergencies through Debugging) are logged.
  • Up to 50 messages are retained in the local syslog buffer.
  • No syslog server is specified.

An expected delay of over 30 seconds is observed for this command functionality to take effect.

The no form of the command disables local syslog logging.

Examples

The following example enables local syslog logging.

device(config)# logging on