logging facility

Syntax

logging facility {local0 | local1 | local2 | local3
     | local4 | local5 | local6 | local7}
no logging facility

Description

Sets the logging facility to be used for remote syslog messages. Default: local7

The no form of this command disables the logging facility to be used for remote syslog messages.

Command context

config

Parameters

{local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7}
Selects the logging facility to be used for remote syslog messages. Required.
Specifies the severity of the syslog messages:
  • local0

  • local1

  • local2

  • local3

  • local4

  • local5

  • local6

  • local7

Authority

Administrators or local user group members with execution rights for this command.

Examples

Sets the local5 logging facility to be used for remote syslog messages:

switch(config)# logging facility local5