Table 4-18, Log control state, Using hpi-b – Artesyn System Management Interface Based on HPI-B 2.0(Centellis 4620/4440) User's Guide (June 2014) User Manual
Page 58

Using HPI-B
System Management Interface Based on BBS HPI-B 2.0 (Centellis 4620/4440) User’s Guide (6806800P21D)
58
Table 4-18 Log Control State
SaHpiCtrlStateT
Value
Type
SAHPI_CTRL_TYPE_OEM
StateUnion.Oem.MId
MOTHPI_MANUFACTURER_ID_MOTOROLA
StateUnion.Oem.BodyLe
ngth
40 + length of log file name
StateUnion.Oem.Body
MOTHPI_LOG_ERROR_FACILITIES_OFFSET
- facilities
for that error logging is enabled
MOTHPI_LOG_WARNING_FACILITIES_OFFSET
-
facilities for that warning logging is enabled
MOTHPI_LOG_INFO_FACILITIES_OFFSET
- facilities for
that info logging is enabled
MOTHPI_LOG_DEBUG_FACILITIES_OFFSET
- facilities
for that debug logging is enabled
The logging facilities are defined in the file log_utils.h, enum
oh_log_fac.
MOTHPI_LOG_CURRENT_IDX_OFFSET
- index of currently
used log file
[MOTHPI_LOG_OFFSET_PROPERTIES]
- output
locationdLogStdout - stdoutdLogStderr - stderrdLogFile - log
file
[MOTHPI_LOG_NUM_FILES_OFFSET]
- number of logfile
created
[MOTHPI_LOG_MAX_FILE_SIZE_OFFSET]
- maximum
logfile size before creating a new one. This is a 32 bit field in
MSB byte order. Use GetUInt32 in byte_utils.h to get host
byte order.
[MOTHPI_LOG_FILENAME_OFFSET]
- log file name.