System Message Logging
Configuring System Message Logging
2
Cisco 3200 Series Wireless MIC Software Configuration Guide
Configuring System Message Logging
This section describes how to configure system message logging. It contains this configuration
information:
•
System Log Message Format, page 2
•
Default System Message Logging Configuration, page 3
•
Disabling and Enabling Message Logging, page 4
•
Setting the Message Display Destination Device, page 5
•
Enabling and Disabling Timestamps on Log Messages, page 6
•
Enabling and Disabling Sequence Numbers in Log Messages, page 6
•
Defining the Message Severity Level, page 7
•
Limiting Syslog Messages Sent to the History Table and to SNMP, page 8
•
Setting a Logging Rate Limit, page 9
•
Configuring UNIX Syslog Servers, page 9
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 1
describes the elements of syslog messages.
Table 1
System Log Message Elements
Element
Description
seq no:
Stamps log messages with a sequence number only if the
service sequence-numbers
global
configuration command is configured.
For more information, see the
“Enabling and Disabling Sequence Numbers in Log Messages”
section on page 6
.
timestamp
formats:
mm/dd hh:mm:ss
or
hh:mm:ss
(short uptime)
or
d h
(long uptime)
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
“Enabling and Disabling Timestamps on Log Messages” section on
page 6
.
facility
The facility to which the message refers (for example, SNMP, SYS, and so forth). A facility can
be a hardware device, a protocol, or a module of the system software. It denotes the source or the
cause of the system message.