Installation guide

You can apply changes that you make to the /etc/binlog.conf
configuration file without shutting down the system by using the following
command:
# kill -HUP ‘cat /var/run/binlogd.pid‘
13.2.4 Configuring the Kernel Binary Event Logger
You can configure the kernel binary event logger by modifying the default
keywords and rebuilding the kernel. You can scale the size of the kernel
binary event-log buffer to meet your systems needs. You can enable and
disable the binary event logger and the logging of kernel ASCII messages
into the binary event log.
The /sys/data/binlog_data.c file defines the binary event-logger
configuration. The default configuration specifies a buffer size of 24K bytes,
enables binary event logging, and disables the logging of kernel ASCII
messages. You can modify the configuration by changing the values of the
binlog_bufsize and binlog_status keywords in the file.
The binlog_bufsize keyword specifies the size of the kernel buffer that
the binary event logger uses. The size of the buffer can be between 8
kilobytes (8192 bytes) and 48 kilobytes (49152 bytes). Small system
configurations, such as workstations, can use a small buffer. Large server
systems that use many disks may need a large buffer.
The binlog_status keyword specifies the behavior of the binary event
logger. You can specify the following values for the binlog_status
keyword:
0 (zero) Disables the binary event logger.
BINLOG_ON
Enables the binary event logger.
BINLOG_ASCIION
Enables the logging of kernel ASCII messages into
the binary event log if the binary event logger is
enabled. This value must be specified with the
BINLOG_ON value as follows:
int binlog_status = BINLOG_ON |
BINLOG_ASCII;
After you modify the /sys/data/binlog_data.c file, you must rebuild
and boot the new kernel.
13–12 Administering Events and Errors