Log Formats - H3C SR6600-X Configuration Manual

Hide thumbs Also See for SR6600-X:
Table of Contents

Advertisement

Log formats

The format of logs varies by output destinations.
which might be different from what you see. The actual format varies by the log resolution tool used.
Table 21 Log formats
Output destination
Console, monitor
terminal, log buffer, or
log file
Log host
Table 22
describes the fields in a log message.
Table 22 Log field description
Field
Prefix (information type)
PRI (priority)
Format
Prefix Timestamp Sysname
Module/Level/Mnemonic: Content
Standard format:
<PRI>Timestamp
Sysname %%vvModule/Level/Mnemon
ic: Source; Content
unicom format:
<PRI>Timestamp Hostip
vvModule/Level/Serial_number:
Content
cmcc format:
<PRI>Timestamp
Sysname %vvModule/Level/Mnemonic
: Source Content
Description
A log to a destination other than the log host has an identifier in front of the
timestamp:
An identifier of percent sign (%) indicates a log with a level equal to or higher
than informational.
An identifier of asterisk (*) indicates a debug log or a trace log.
An identifier of caret (^) indicates a diagnostic log.
A log destined to the log host has a priority identifier in front of the timestamp. The
priority is calculated by using this formula: facility*8+level, where:
facility is the facility name. Facility names local0 through local7 correspond to
values16 through 23. The facility name can be configured using the info-center
loghost command. It is used to identify log sources on the log host, and to query
and filter the logs from specific log sources.
level ranges from 0 to 7. See
levels.
244
Table 21
shows the original format of log information,
Example
%Nov 24 14:21:43:502 2010 H3C
SYSLOG/6/SYSLOG_RESTART:
System restarted –-
H3C Comware Software.
Standard format:
<190>Nov 24 16:22:21 2010
H3C %%10SYSLOG/6/SYSLOG_R
ESTART: -DevIP=1.1.1.1; System
restarted –-
H3C Comware Software.
unicom format:
<189>Oct 13 16:48:08 2000
10.1.1.1
10IFNET/2/210231a64jx073000
020: VTY logged in from
192.168.1.21
cmcc format:
<189>Oct 9 14:59:04 2009
Sysname %10SHELL/5/SHELL_LO
GIN: VTY logged in from
192.168.1.21
Table 14
for more information about severity

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents