beautypg.com

2 filtering of error information – HP Hitachi Dynamic Link Manager Software User Manual

Page 62

background image

2. HDLM Functions

40

#

When you want to configure the system so that HDLM messages are output to

syslog, specify

user

for the facility in the

/etc/syslog.conf

file. The

following shows an example where the system function name is

user

, and

messages at the

info

level or higher are output to the

/tmp/syslog.user.log

file:


user.info /tmp/syslog.user.log

For details on error levels, see 2.11.2 Filtering of Error Information.

2.11.2 Filtering of Error Information

Errors detected by HDLM are classified into various error levels. Table 2-7: Error

Levels lists the error levels, in the order of most to least severe.

Table 2-7: Error Levels

Error information is filtered by error level, and then collected.
The error level is equivalent to the level of the messages output by HDLM. For details

on the level of the message, see 8.1.1 Format and Meaning of Message IDs.
In syslog, the HDLM messages on and above the level set by the user configured in

/

etc/syslog.conf

are collected. It is recommended that you set the information to

be output at the info level and higher.
Note that the facility and level (in facility format) when HDLM outputs messages to

syslog are all

user

.

The error information in error logs and trace files are collected based on a user-defined

collection level. The collection levels are as follows:
Collection levels for error logs

Error level

Meaning

Level output in syslog

Critical

Fatal errors that might stop the system.

error

Error

Errors that adversely affect the system. This type of error can

be avoided by performing a failover or other

countermeasures.

error

Warning

Errors that enable the system to continue but, if left, might

cause the system to improperly operate.

warning

Information

Information that simply indicates the operating history when
the system is operating normally.

info