Patch from Fillod Stephane:

You will find in the attached file "syslog.patch" a patch which adds
  config options to set at compile time the size of the circular buffer,
  and some documentation update.
This commit is contained in:
Eric Andersen
2003-12-19 11:32:14 +00:00
parent 3752d337b3
commit d4a5e255c4
5 changed files with 70 additions and 12 deletions

View File

@@ -56,6 +56,14 @@ config CONFIG_FEATURE_IPC_SYSLOG
entire filesystem, which may cause your system to
break badly.
config CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE
int " Circular buffer size in Kbytes (minimum 4KB)"
default 16
depends on CONFIG_FEATURE_IPC_SYSLOG
help
This option sets the size of the circular buffer
used to record system log messages.
config CONFIG_LOGREAD
bool " logread"
default y
@@ -66,6 +74,17 @@ config CONFIG_LOGREAD
utility will allow you to read the messages that are
stored in the syslogd circular buffer.
config CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING
bool " logread double buffering"
default n
depends on CONFIG_LOGREAD
help
'logread' ouput to slow serial terminals can have
side effects on syslog because of the semaphore.
This option make logread to double buffer copy
from circular buffer, minimizing semaphore
contention at some minor memory expense.
config CONFIG_KLOGD
bool "klogd"
default n