R21xx-HP FlexFabric 11900 Network Management and Monitoring Configuration Guide
56
Output destination Format Example
Log host
<PRI>Timestamp
Sysname %%vvModule/Level/Digest:
Source; Content
<190>Nov 24 16:22:21 2010
HP %%10SYSLOG/6/SYSLOG_RES
TART: -DevIP=1.1.1.1; System
restarted –-
HP Comware Software.
Table 9 describes the fields in a log message.
Table 9 Log field description
Field Descri
p
tion
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.
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. It 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 information 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 10 and Table 11.
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 HP device.
It exists only in logs sent to the log host.
vv (version information)
Identifies the version of the log, and has a value of 10.
It exists only in logs 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 information about severity
levels.
Digest 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:
• Slot number of a card. (In standalone mode.)
• IRF member ID and card slot number. (In IRF mode.)
• IP address of the log sender.
Content Provides the content of the log.










