69
Output
destination
Format Example
Sysname %vvModule/Level/Mnemo
nic: Source Content
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_
LOGIN: VTY logged in from
192.168.1.21
Table 13 describes the fields in a log message.
Table 13 Log field description
Field Description
Prefix (information type)
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.
PRI (priority)
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 values 16 through 23. The facility name can be configured
with 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 Table 6 for more informati
on about severity
levels.
Timestamp
Records the time when the log was generated.
Logs sent to the log host and those sent to the other destinations have different
timestamp precisions, and their timestamp formats are configured with different
commands. For more information, see Table 14 and Table 15.
Hostip
Source IP address of the log. If
info-center loghost source
is configured, this
field displays the IP address of the specified source interface. Otherwise, this
field displays the sysname.
This field exists only in logs in unicom format that are sent to the log host.
Serial number
Serial number of the device that generated the log.
This field exists only in logs in unicom format that are sent to the log host.
Sysname (host name or
host IP address)
The sysname is the host name or IP address of the device that generated the
log. You can use the
sysname
command to modify the name of the device.
%% (vendor ID)
Indicates that the information was generated by an HPE device.
This field exists only in logs sent to the log host.
vv (version information)
Identifies the version of the log, and has a value of 10.
This field exists only in logs that are sent to the log host.
Module
Specifies the name of the module that generated the log. You can enter the
info-center source ?
command in system view to view the module list.
Level
Identifies the level of the log. See Table 6 for more informat
ion about severity
levels.
Mnemonic Describes the content of the log. It contains a string of up to 32 characters.
Source Identifies the source of the log. It can take one of the following values: