logging console

Use this command to set the severity level that a message must reach before the messages is sent to the console. The severity levels are from 0 to 7 as shown in Table 42. Syslog severities

Use the command logging console disable to disable logging console messages.

Use the no form of this command to remove logging console configuration and return to the default severity level.

 

  • Setting the level above 5 might affect performance and is not recommended in a production network.
  • Below message will be displayed if console severity is set to 6 or 7:

    % Warning : If debug volume is huge it can degrade system performance and makes console to be non-responsive

  • For CMMD, Critical logs in the console are equivalent to Alert traps & Alert logs on the console is equivalent tocritical trap in SNMP.

Command Syntax

Copy
logging console (<0-7>|)
logging console disable
no logging console

Parameters

<0-7>

Maximum logging level for console messages as shown in Table 42. Syslog severities.

disable

Disables the logging console

Default

If not specified, the default logging level is 2 (Critical).

Command Mode

Configure mode

Applicability

This command was introduced before OcNOS version 1.3 and the command logging console disable was introduced in the OcNOS version 5.1.

Example

Copy
#configure terminal
(config)#logging console 6
(config)#commit
(config)#logging console disable
(config)#commit