Log Levels: Basic and Bit Flag Parameters

The following table lists the supported basic values for the -hwagentd_log_levels section in the hwmgmtd.conf file.

Log Level Messages Logged

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

Using bit flag parameters allows you to set the logging level with a finer level of granularity. The following table lists supported values.

Note:

Oracle recommends that you use the basic logging levels. The bit flag parameters are for advanced troubleshooting.

Log Level Bit Code Messages Logged

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.