1-5
Priority
The priority is calculated using the following formula: facility*8+severity-1, in which
z facility (the device name) defaults to local7 with the value being 23 (the value of local6 is 22, that of
local5 is 21, and so on).
z severity (the information level) ranges from 1 to 8. Table 1-1 details the value and meaning
associated with each severity.
Note that there is no space between the priority and timestamp fields and the priority field appears 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.
Note that there is a space between the timestamp and sysname (host name) fields.
The time stamp has the following two formats.
1) Without the universal time coordinated (UTC) time zone, the time stamp is in the format of “Mmm
dd hh:mm:ss:ms yyyy”.
2) With the UTC time zone, the time stamp is in the format of “Mmm dd hh:mm:ss:ms yyyy [GMT +|-
hh:mm:ss]”.
Each field is described as follows:
z “Mmm” represents the month, and the available values are: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug,
Sep, Oct, Nov, and Dec.
z “dd” is the date, which shall follow a space if less than 10, for example, “ 7”.
z “hh:mm:ss:ms” is the local time, where “hh” is in the 24-hour format, ranging from 00 to 23, both
“mm” and ”ss” range from 00 to 59, “ms” ranges from 000 to 999.
z “yyyy” is the year.
z “[GMT +|- hh:mm:ss]�� is the UTC time zone, which represents the time difference with the
Greenwich standard time.
Because devices in a network may distribute in different time zones, when the time displayed in the time
stamps of output information is the local time on each device, it is not so convenient for you to locate
and solve problems globally. In this case, you can configure the information center to add UTC time
zone to the time stamp of the output information, so that you can know the standard time when the
information center processing each piece of information. That is, you can know the Greenwich standard
time of each device in the network based on the UTC record in the time stamp.
To add UTC time zone to the time stamp in the information center output information, you must:
z Set the local time zone
z Set the time stamp format in the output direction of the information center to date
z Configure to add UTC time zone to the output information
After the above configuration, the UTC time zone will be displayed in the output information, like the
following:
%Dec 8 10:12:21:708 2006 [GMT+08:00:00] device SHELL/5/LOGIN:- 1 - VTY(1.1.0.2) in unit1
login
Sysname
Sysname is the system name of the local device and defaults to device.