Pri (priority), Timestamp – H3C Technologies H3C SecPath F1000-E User Manual
Page 229
6
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.
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
Times tamp 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 milliseconds. The time stamp 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 time stamp parameters, see the following table:
Table 6 Description on the time stamp parameters
Time stamp
parameter
Description Example
boot
System up time (that is, the duration for this
operation of the device), 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: Ethernet0/6
link status is DOWN.
0.16406399 is a time stamp 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: Ethernet0/6
link status is UP.
Aug 19 16:11:03:288 2009 is a time
stamp in the date format.
iso
Time stamp format stipulated in ISO 8601
Only the system information sent to a log host
supports this parameter.
<187>2009-09-21T15:32:55 Sysname
%%10 IFNET/3/LINK_UPDOWN(l):
Ethernet0/6 link status is DOWN.
2009-09-21T15:32:55 is a time stamp in
the iso format.
none
No time stamp is included.
System information sent to all destinations
supports this parameter.
% Sysname IFNET/3/LINK_UPDOWN:
Ethernet0/6 link status is DOWN.
No time stamp is included.
no-year-dat
e
Current date and time of the system, with year
information excluded.
Only the system information sent to a log host
supports this parameter.
<187>Aug 19 16:120:38 Sysname
%%10 IFNET/3/LINK_UPDOWN(l):
Ethernet0/6 link status is DOWN.
Aug 19 16:120:38 is a time stamp in the
no-year-date format.