Circular log buffer clears when log fills up

Jari Takkala Jari.Takkala at Q9.com
Fri Jun 1 18:06:17 UTC 2007


Hello,

I am using Busybox syslogd with the -m 0 and -C flags. It seems that the log buffer is completely cleared whenever the size of -C is exceeded. I have tried sizes of 16, 32, and 64KB for -C. I am using logread to read the log buffer.

This is Busybox 1.4.2 with glibc 2.5. The relevant config options are:

CONFIG_SYSLOGD=y
# CONFIG_FEATURE_ROTATE_LOGFILE is not set
# CONFIG_FEATURE_REMOTE_LOG is not set
CONFIG_FEATURE_IPC_SYSLOG=y
CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=32
CONFIG_LOGREAD=y
CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING=y
# CONFIG_KLOGD is not set

Is this a known bug? Thanks!

Jari



More information about the busybox mailing list