beautypg.com

Chapter 30. syslog commands, Logging on, Logging – Allied Telesis AT-S94 CLI (AT-8000S Series) User Manual

Page 300: Chapter 30.syslog commands, Logging on logging, Chapter 30. "syslog commands

background image

Page 299

Allied Telesis
AT-8000S-S94-3.0 Command Line Interface User’s Guide

Chapter 30.Syslog Commands

logging on

The logging on Global Configuration mode command controls error message 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. Use the no form of this command to disable the logging process.

Syntax

logging on

no logging on

Parameters

This command has no arguments or keywords.

Default Configuration

Logging is enabled.

Command Mode

Global Configuration mode

User Guidelines

The logging process controls the distribution of logging messages at various destinations, such as the logging
buffer, logging file or syslog server. Logging on and off at these destinations can be individually configured using
the logging buffered, logging file, and logging Global Configuration mode 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 enables logging error messages.

logging

The logging Global Configuration mode command logs messages to a syslog server. Use the no form of this
command to delete the syslog server with the specified address from the list of syslogs.

Syntax

logging {ipv4-address | ipv6-address | hostname} [port port] [severity level] [facility facility] [description text]

no logging {ipv4-address | ipv6-address| hostname}

console(config)# logging on