Logging facility, Logging file – Dell PowerEdge M805 User Manual

Page 501

Advertising
background image

Syslog Commands

495

logging facility

Use the logging facility command in Global Configuration mode to set the facility for logging
messages. To reset to the default value, use the no form of the command.

Syntax

logging facility facility

no logging facility

facility—The facility that will be indicated in the message. (Range: local0, local1, local2,
local3, local4, local5, local 6, local7)

Default Configuration

The default value is local7.

Command Mode

Global Configuration mode

User Guidelines

This command has no user guidelines.

Example

The following example sets the logging facility as local3.

console(config)#logging facility local3

logging file

Use the logging file command in Global Configuration mode to limit syslog messages sent to the
logging file based on severity. To cancel the buffer, use the no form of this command.

Syntax

logging file level

no logging file

level—Limits the logging of messages to the buffer to a specified level. (Range:
emergency, alert, critical, error, warning, notice, info, debug)

Default Configuration

The default value for level is error.

Command Mode

Global Configuration mode

Advertising