Logging on, Port – Dell PowerEdge M805 User Manual

Page 502

Advertising
background image

496

Syslog Commands

www

.dell.com | support.dell.com

User Guidelines

This command has no user guidelines.

Example

The following example limits syslog messages sent to the logging file based on the severity
level "warning".

console(config)#logging file warning

logging on

Use the logging on command in Global Configuration mode to control error messages logging.
This command sends debug or error messages to a logging process, which logs messages to
designated locations asynchronously to the process that generated the messages. To disable the
logging process, use the no form of this command.

Syntax

logging on

no logging on

Default Configuration

Logging is enabled.

Command Mode

Global Configuration mode

User Guidelines

The logging process controls the distribution of logging messages to the various destinations,
such as the logging buffer, logging file, or syslog server. Logging on and off for these
destinations can be individually configured using the logging buffered, logging file, and
logging <server>global configuration commands. However, if the logging on command is
disabled, no messages are sent to these destinations. Only the console receives messages.

Example

The following example shows how logging is enabled.

console(config)#logging on

port

Use the port command in Logging mode to specify the port number of syslog messages. To reset to
the default value, use the no form of the command.

Advertising