Hardware Management Agent Configuration File
The Hardware Management Agent records log messages in the
hwmgmtd.log file. These messages can be used to troubleshoot
the running status of the Hardware Management Agent.
To configure the level of detail stored, set the hwagentd_log_levels parameter in the hwmgmtd.conf file. See Configure the Hardware Management Agent Logging Level.
You can use two versions of this parameter; basic or
bit flags. The following subsections describe each.
Basic Parameters
The following table shows the basic values for the
hwagentd_log_levels parameter in the
hwmgmtd.conf file.
|
|
ERROR
|
Any error messages generated by the Hardware Management
Agent
|
WARNING
|
Any error and warning messages generated by the Hardware
Management Agent
|
INFO
|
Any error and warning messages generated by the Hardware
Management Agent and informative messages about normal
functioning
|
|
Bit Flags Parameters
Using bit flags allows you to set the logging level with a finer level of
granularity. The following table shows the values.
Note -
It is recommended to use the logging levels above. The bit flags options are
for advanced troubleshooting.
|
|
|
EMERG
|
0x0001
|
Information about the system being unusable
|
ALARM
|
0x0002
|
Information about any immediate action that must be
taken
|
CRIT
|
0x0004
|
Information related to the Hardware Management Agent either
not starting or stopping because of critical conditions
|
ERROR
|
0x0008
|
Information about any error messages generated by the Hardware
Management Agent
|
WARNING
|
0x0010
|
Information about any error and warning messages generated by
the Hardware Management Agent
|
NOTICE
|
0x0020
|
Information related to normal functioning
|
INFO
|
0x0040
|
Information about any error and warning messages generated by
the Hardware Management Agent and informative messages about
normal functioning
|
DEBUG
|
0x0080
|
Verbose debug-level messages, useful in troubleshooting
|
TRACE
|
0x0100
|
Highly verbose debug-level messages, useful in
troubleshooting
|
|
Note -
levels DEBUG and TRACE generate a lot of detailed messages and are designed
for troubleshooting. These levels are not recommended for production
usage.
For example, when you want to set all logging levels between EMERG and NOTICE, the
bit code values of all the required levels must be added and then converted to a
decimal value. Referring to preceding table, the addition would be as
follows:
0x0001 + 0x0002 + 0x0004 + 0x0008 + 0x0010 + 0x0020 = 0x003f
Converting 0x003f to decimal equals 63, which is the desired log level. This is
the decimal number that should be assigned to the
hwagentd_log_levels parameter in the
hwmgmtd.conf file.