next up previous contents
Next: Creating the Special Files Up: Event Logging Previous: The syslog.conf File   Contents

The binlog.conf File

To change binlogd configuration other than the default, specify the file name with the command:
binlogd -f config_file
The following is an example of the default /etc/binlog.conf file:


# binlogd configuration file
#
# format of a line:   event_code.priority         destination
#
# where:
# event_code - see codes in binlog.h and man page, * = all events
# priority   - severe, high, low, * = all priorities
# destination - local file pathname or remote system hostname
#
#
*.*                     /usr/adm/binary.errlog
dumpfile                /usr/adm/crash/binlogdumpfile
102.high                /usr/adm/disk.errlog
[1]    [2]                     [3]
Each entry in /etc/binlog.conf, except dumpfile event class, contains three fields:

  1. event class code indicating the part of the system generating the event
  2. severity level of the event, do not specify severity level with dumpfile
  3. destination where binary event records are logged

binlogd ignores blank lines and lines starting with #. Event class and severity level are separated from the destination by one or more <tabs>.


Event Class Codes
Class Code General
* all event classes
dumpfile specify recovery of kernel binary event log buffer from crash
severity level cannot be specified
Class Code Hardware-Detected Events
100 CPU machine checks and exceptions
101 memory
102 disks
103 tapes
104 device controller
105 adapters
106 buses
107 stray interrupts
108 console events
109 stack dumps
199 SCSI CAM events
Class Code Software-Detected Events
201 CI port-to-port-driver events
202 system communications services events
Class Code Informational ASCII Messages
250 generic
Class Code Operational Events
300 startup ASCII messages
301 shutdown ASCII messages
302 panic messages
310 time stamp
350 diagnostic status messages
351 repair and maintenance messages



Severity Levels
Severity Level Description
* all severity levels
severe unrecoverable events usually fatal
high recoverable/unrecoverable events not fatal
low informational events



Destinations
Destination Description
pathname file to which binlogd appends binary events
@hostname host to which binlogd forwards binary event records
dumpfile does not allow forwarding



next up previous contents
Next: Creating the Special Files Up: Event Logging Previous: The syslog.conf File   Contents
luvisetto
2001-10-02