Software installation and configuration, Table 2-3 hpi tags (continued) – Artesyn System Management Interface Based on HPI-B (Centellis 2000 R3.0/4411) User's Guide (June 2014) User Manual

Page 23

Advertising
background image

Software Installation and Configuration

System Management Interface Based on HPI-B (Centellis 2000 R3.0/4411) User’s Guide (6806800P20C)

23

OPENHPI_LOGFLAGS

Flags that control logging

"stdout |
stderr |
file |
simplefile
| syslog |
prefix |
threadid"

[file|prefix]

- log into a

file with prefix(<time>

[threadid] <log level> {facility})

in each line logged
Stdout

- log to standard

output
Stderr

- standard error

Simplefile

- only one file for

logging and its name is

OPENHPI_LOGFILE
Syslog

- log into syslog

Threadid

- logging of

threadid is optional. With this

option, threadid is also logged

stderr

OPENHPI_LOG_ERROR_FACILITIES

Facilities that should be

logged at error level

List of
facilities
mentioned
in the
config
file

[all]

- By default, all the

facilities are logged at error level
To mention more than one

facility, use |
Ex: core|daemon

all

OPENHPI_LOG_WARNING_FACILITIES

Facilities that should be

logged at warning level

List of
facilities
mentioned
in the
config
file

[all]

- By default, all the

facilities are logged at warning

level

all

OPENHPI_LOG_INFO_FACILITIES

Facilities that should be

logged at info level

List of
facilities
mentioned
in the
config
file

[all]

- By default, all the

facilities are logged at info level

all

OPENHPI_LOG_DEBUG_FACILITIES

Facilities that should be

logged at info level

List of
facilities
mentioned
in the
config
file

[]

- By default, no facilities are

logged at debug level
User has two options to change

facilities at any log level -
1.Modifying config file - the

changes are persistent and are

reflected after restarting the

hpib daemon
2.Using hpilog application -

changes take effect

immediately but are not

persistent and removed once

the daemon is restarted

""

OPENHPI_LOGTHREAD

Separate thread for logging

"0 | 1"

[1]

- start a separate thread for

logging
[0]

- no separate thread

If tag is not mentioned, no

thread is started

0

Table 2-3 HPI Tags (continued)

Tag

Description

Allowed values

Default in Config. file

Built-in

Default

Advertising