HP 6125XLG R2306-HP 6125XLG Blade Switch Network Management and Monitoring Con - Page 60

Output destination, Format, Example, Field, Description, describes the fields in a log message.

Page 60 highlights

Output destination Format Log host Timestamp Sysname %%vvModule/Level/Digest: Source; Content Example 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 Prefix (information type) PRI (priority) Timestamp Sysname (host name or host IP address) %% (vendor ID) vv (version information) Module Level Digest Source Content Description 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. 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-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-In the range of 0 to 7. See Table 6 for more information about severity levels. 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. 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. Indicates that the information was generated by an HP device. It exists only in logs sent to the log host. Identifies the version of the log, and has a value of 10. It exists only in logs sent to the log host. 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. Identifies the level of the log. See Table 6 for more information about severity levels. Describes the content of the log. It contains a string of up to 32 characters. Identifies the source of the log. It can take one of the following values: • IRF member ID. • IP address of the log sender. Provides the content of the log. 54

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148

54
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
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.
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
—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
—In the range of 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:
IRF member ID.
IP address of the log sender.
Content
Provides the content of the log.