Logtool Specifications

Hewlett-Packard STM: Logtool ERS * Revision 1.17
- Page 45 - Printed: 02/04/99 3:38 PM
Appendix B - Logger Configuration File
The STM Logger process utilizes a configuration file to allow the user to tailor its
operation. This file, called diaglogd.cfg, is automatically checked by the logger process
before each log entry is processed. If the file has changed, logger will read it and
reconfigure itself according to the settings in the file. If this file does not exist in the
appropriate directory (/var/stm/config/sys), the logger process will simply use its default
configuration values.
The logger configuration file may contain any or all of the following directives:
output-level level Sets the logging level for the diaglogd daemon.
Errors only level = 1
Errors and warnings level = 2
Errors, warnings and informationals level = 3
suspend Suspends all logging. Logging will remain
suspended until this directive is removed from the
configuration file.
suspend-type entry_type Suspends logging of entries of a particular type.
Logging for this type will remain suspended until
this directive is removed from the configuration file.
suspend-dev device_path Suspends logging of I/O error entries for a particular
device. Logging for this device will remain
suspended until this directive is removed from the
configuration file.
suspend-qual product_qual Suspends logging of I/O error entries for a particular
product qualifier. Logging for this product qualifier
will remain suspended until this directive is
removed from the configuration file.
suspend-logger logger_id Suspends logging of I/O error entries for a particular
logger_id. Logging for this logger_id will remain
suspended until this directive is removed from the
configuration file.
exec-type entry_type prog_name exec | no-exec [fifo_name]
If exec, executes a specified program when a
particular entry_type is logged. If fifo_name is
given, passes it the raw log entry entry via the
specified FIFO file. If no-exec, just passes the raw
log entry via the specified FIFO file. In either case,