aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/Config.in
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2003-12-19 11:32:14 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2003-12-19 11:32:14 +0000
commitd4a5e255c479647d172c9d7d7f61049277b7c0b9 (patch)
tree7931e79c7b1cc3c4d8804c39da6dc6cf9fb667ab /sysklogd/Config.in
parent3752d337b3b8e704f1fe27451d481eae85d64f48 (diff)
downloadbusybox-d4a5e255c479647d172c9d7d7f61049277b7c0b9.tar.gz
busybox-d4a5e255c479647d172c9d7d7f61049277b7c0b9.tar.bz2
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.
Diffstat (limited to 'sysklogd/Config.in')
-rw-r--r--sysklogd/Config.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/sysklogd/Config.in b/sysklogd/Config.in
index cb2ee0865..a671f59f1 100644
--- a/sysklogd/Config.in
+++ b/sysklogd/Config.in
@@ -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