2005-03-06 03:34:52 +00:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see scripts/kbuild/config-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
menu "System Logging Utilities"
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_SYSLOGD
|
|
|
|
bool "syslogd"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
The syslogd utility is used to record logs of all the
|
2009-05-25 13:52:31 +00:00
|
|
|
significant events that occur on a system. Every
|
2005-03-06 03:34:52 +00:00
|
|
|
message that is logged records the date and time of the
|
|
|
|
event, and will generally also record the name of the
|
2009-05-25 13:52:31 +00:00
|
|
|
application that generated the message. When used in
|
2005-03-06 03:34:52 +00:00
|
|
|
conjunction with klogd, messages from the Linux kernel
|
2009-05-25 13:52:31 +00:00
|
|
|
can also be recorded. This is terribly useful,
|
2005-03-06 03:34:52 +00:00
|
|
|
especially for finding what happened when something goes
|
2009-05-25 13:52:31 +00:00
|
|
|
wrong. And something almost always will go wrong if
|
2005-03-06 03:34:52 +00:00
|
|
|
you wait long enough....
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_ROTATE_LOGFILE
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Rotate message files"
|
2005-03-06 03:34:52 +00:00
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_SYSLOGD
|
|
|
|
help
|
|
|
|
This enables syslogd to rotate the message files
|
|
|
|
on his own. No need to use an external rotatescript.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_REMOTE_LOG
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Remote Log support"
|
2005-03-06 03:34:52 +00:00
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_SYSLOGD
|
|
|
|
help
|
|
|
|
When you enable this feature, the syslogd utility can
|
|
|
|
be used to send system log messages to another system
|
2009-05-25 13:52:31 +00:00
|
|
|
connected via a network. This allows the remote
|
2005-03-06 03:34:52 +00:00
|
|
|
machine to log all the system messages, which can be
|
|
|
|
terribly useful for reducing the number of serial
|
2009-05-25 13:52:31 +00:00
|
|
|
cables you use. It can also be a very good security
|
2005-03-06 03:34:52 +00:00
|
|
|
measure to prevent system logs from being tampered with
|
|
|
|
by an intruder.
|
|
|
|
|
2008-08-20 14:00:34 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_SYSLOGD_DUP
|
|
|
|
bool "Support -D (drop dups) option"
|
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_SYSLOGD
|
|
|
|
help
|
|
|
|
Option -D instructs syslogd to drop consecutive messages
|
|
|
|
which are totally the same.
|
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Circular Buffer support"
|
2005-03-06 03:34:52 +00:00
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_SYSLOGD
|
|
|
|
help
|
|
|
|
When you enable this feature, the syslogd utility will
|
|
|
|
use a circular buffer to record system log messages.
|
|
|
|
When the buffer is filled it will continue to overwrite
|
2009-05-25 13:52:31 +00:00
|
|
|
the oldest messages. This can be very useful for
|
2005-03-06 03:34:52 +00:00
|
|
|
systems with little or no permanent storage, since
|
|
|
|
otherwise system logs can eventually fill up your
|
|
|
|
entire filesystem, which may cause your system to
|
|
|
|
break badly.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE
|
2008-08-20 14:00:34 +00:00
|
|
|
int "Circular buffer size in Kbytes (minimum 4KB)"
|
2005-03-06 03:34:52 +00:00
|
|
|
default 16
|
2007-10-05 00:27:49 +00:00
|
|
|
range 4 2147483647
|
2005-03-06 03:34:52 +00:00
|
|
|
depends on BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG
|
|
|
|
help
|
|
|
|
This option sets the size of the circular buffer
|
|
|
|
used to record system log messages.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_LOGREAD
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "logread"
|
2005-03-06 03:34:52 +00:00
|
|
|
default y
|
|
|
|
depends on BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG
|
|
|
|
help
|
|
|
|
If you enabled Circular Buffer support, you almost
|
2009-05-25 13:52:31 +00:00
|
|
|
certainly want to enable this feature as well. This
|
2005-03-06 03:34:52 +00:00
|
|
|
utility will allow you to read the messages that are
|
|
|
|
stored in the syslogd circular buffer.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING
|
2008-08-20 14:00:34 +00:00
|
|
|
bool "Double buffering"
|
2005-03-06 03:34:52 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_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 BUSYBOX_CONFIG_KLOGD
|
|
|
|
bool "klogd"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
klogd is a utility which intercepts and logs all
|
|
|
|
messages from the Linux kernel and sends the messages
|
2009-05-25 13:52:31 +00:00
|
|
|
out to the 'syslogd' utility so they can be logged. If
|
2005-03-06 03:34:52 +00:00
|
|
|
you wish to record the messages produced by the kernel,
|
|
|
|
you should enable this option.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_LOGGER
|
|
|
|
bool "logger"
|
|
|
|
default y
|
2007-01-01 18:28:03 +00:00
|
|
|
select BUSYBOX_CONFIG_FEATURE_SYSLOG
|
2005-03-06 03:34:52 +00:00
|
|
|
help
|
|
|
|
The logger utility allows you to send arbitrary text
|
|
|
|
messages to the system log (i.e. the 'syslogd' utility) so
|
2009-05-25 13:52:31 +00:00
|
|
|
they can be logged. This is generally used to help locate
|
2005-03-06 03:34:52 +00:00
|
|
|
problems that occur within programs and scripts.
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|