HP-UX Event ManagerAdministrator's Guide
Configuring Event Manager
Configuring Event Manager Logger
Chapter 3 67
Configuring Event Manager Logger
The logger handles storage and forwarding of events, according to entries
in the /etc/evmlogger.conf configuration file. For more information
about configuration file, see evmlogger.conf (4). Example 3-3 shows
sample entries in a logger configuration file. An example of possible
customization of the logger is to direct output to a terminal in addition to
a log file.
Example 3-3 Sample Event Manager Logger Configuration File Entries
# Main log file:
/* This line begins an event log configuration group. */
eventlog {
/* This line provides a name for the the event log. Other
portions of the configuration file may reference this name.
*/
name evmlog
/* This line specifies that the log files are stored in the
/var/evm/evmlog directory. Each day, when the log for that
day is first written, the dated suffix is replaced by the
date in the format yyyymmdd.
*/
logfile /var/evm/evmlog/evmlog.dated
/* This line specifies that the type of events written to this
log are binary events, rather than formatted (ASCII text)
events.
*/
type binary
/* This line specifies the maximum size of the log file in
kilobytes (KB). In this case, if the size of the current log
file exceeds 512 KB the logger closes it and creates a new
log file, with a sequentially numbered suffix (for example,
_2) appended to the file name.
*/
maxsize 512 # Kbytes
# Uncomment the following "alternate" line and set the
# logfile path to specify an alternate logfile in case
# of write failures.
# The path must specify an existing directory.