Configuring System Message Logging; System Log Message Format - Cisco Catalyst 2950 Software Configuration Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Configuring System Message Logging

Configuring System Message Logging
This section describes how to configure system message logging. It contains this configuration
information:

System Log Message Format

System log messages can contain up to 80 characters and a percent sign (%), which follows the optional
sequence number or timestamp information, if configured. Messages are displayed in this format:
seq no:timestamp: %facility-severity-MNEMONIC:description
The part of the message preceding the percent sign depends on the setting of the service
sequence-numbers, service timestamps log datetime, service timestamps log datetime [localtime]
[msec] [show-timezone], or service timestamps log uptime global configuration command.
Table 21-1
Table 21-1 System Log Message Elements
Element
seq no:
timestamp formats:
mm/dd hh:mm:ss
or
hh:mm:ss (short uptime)
or
d h (long uptime)
facility
severity
Catalyst 2950 Desktop Switch Software Configuration Guide
21-2
System Log Message Format, page 21-2
Default System Message Logging Configuration, page 21-3
Disabling and Enabling Message Logging, page 21-4
Setting the Message Display Destination Device, page 21-4
Synchronizing Log Messages, page 21-6
Enabling and Disabling Timestamps on Log Messages, page 21-7
Enabling and Disabling Sequence Numbers in Log Messages, page 21-8
Defining the Message Severity Level, page 21-8
Limiting Syslog Messages Sent to the History Table and to SNMP, page 21-10
Configuring UNIX Syslog Servers, page 21-10
describes the elements of syslog messages.
Description
Stamps log messages with a sequence number only if the service sequence-numbers global
configuration command is configured.
For more information, see the
section on page
21-8.
Date and time of the message or event. This information appears only if the service timestamps
log [datetime | log] global configuration command is configured.
For more information, see the
page
21-7.
The facility to which the message refers (for example, SNMP, SYS, and so forth). For a list of
supported facilities, see
Table 21-4 on page
Single-digit code from 0 to 7 that is the severity of the message. For a description of the severity
levels, see
Table 21-3 on page
Chapter 21
"Enabling and Disabling Sequence Numbers in Log Messages"
"Enabling and Disabling Timestamps on Log Messages" section on
21-12.
21-9.
Configuring System Message Logging
78-11380-04

Advertisement

Table of Contents
loading

Table of Contents