Pri (priority), Timestamp – H3C Technologies H3C SR8800 User Manual

Page 187

Advertising
background image

175

<186>Oct 13 16:48:08 2000 H3C 10IFNET/2/210231a64jx073000020:

log_type=port;content=Vlan-interface1 link status is DOWN.

<186>Oct 13 16:48:08 2000 H3C 10IFNET/2/210231a64jx073000020:

log_type=port;content=Line protocol on the interface Vlan-interface1 is DOWN.

NOTE:

The closing set of angel brackets (< >), the space, the forward slash (/), and the colon (:) are all required
in the above format.

The format in the previous part is the original format of system information, so you may see the
information in a different format. The displayed format depends on the log resolution tools you use.

What follows is a detailed explanation of the fields involved:

PRI (priority)

The priority is calculated using the following formula: facility*8+severity, in which facility represents the
logging facility name and can be configured when you set the log host parameters. The facility ranges

from local0 to local7 (16 to 23 in decimal integers) and defaults to local7. The facility is mainly used to

mark different log sources on the log host, query and filter the logs of the corresponding log source.

Severity ranges from 0 to 7.

Table 6

details the value and meaning associated with each severity.

Note that the priority field takes effect only when the information has been sent to the log host.

timestamp

Timestamp records the time when system information is generated to allow users to check and identify

system events. The time stamp of the system information sent from the information center to the log host

is with a precision of seconds. The timestamp format of the system information sent to the log host is
configured with the info-center timestamp loghost command, and that of the system information sent to

the other destinations is configured with the info-center timestamp command. For the detailed

description of the timestamp parameters, see the following table:

Table 9 Description on the timestamp parameters

Timestamp

parameter

Description Example

boot

System up time (that is, the duration for this
operation of the router), in the format of

xxxxxx.yyyyyy. xxxxxx represents the higher

32 bits, and yyyyyy represents the lower 32
bits.
System information sent to all destinations
except log host supports this parameter.

%0.16406399 Sysname
IFNET/3/LINK_UPDOWN:
GigabitEthernet3/1/6 link status is

DOWN.
0.16406399 is a timestamp in the boot

format.

date

Current date and time of the system, in the
format of Mmm dd hh:mm:ss:sss yyyy.
System information sent to all destinations
supports this parameter.

%Aug 19 16:11:03:288 2009 Sysname
IFNET/3/LINK_UPDOWN:

GigabitEthernet3/1/6 link status is UP.
Aug 19 16:11:03:288 2009 is a

timestamp in the date format.

Advertising