2002-12-05 08:41:41 +00:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see scripts/kbuild/config-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
menu "System Logging Utilities"
|
|
|
|
|
2010-06-08 10:15:11 +00:00
|
|
|
INSERT
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config SYSLOGD
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "syslogd"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-02-28 07:20:55 +00:00
|
|
|
The syslogd utility is used to record logs of all the
|
2008-07-22 18:27:53 +00:00
|
|
|
significant events that occur on a system. Every
|
2003-02-28 07:20:55 +00:00
|
|
|
message that is logged records the date and time of the
|
|
|
|
event, and will generally also record the name of the
|
2008-07-22 18:27:53 +00:00
|
|
|
application that generated the message. When used in
|
2003-02-28 07:20:55 +00:00
|
|
|
conjunction with klogd, messages from the Linux kernel
|
2008-07-22 18:27:53 +00:00
|
|
|
can also be recorded. This is terribly useful,
|
2003-10-22 09:58:56 +00:00
|
|
|
especially for finding what happened when something goes
|
2008-07-22 18:27:53 +00:00
|
|
|
wrong. And something almost always will go wrong if
|
2003-02-28 07:20:55 +00:00
|
|
|
you wait long enough....
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_ROTATE_LOGFILE
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Rotate message files"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on SYSLOGD
|
2003-10-09 09:43:18 +00:00
|
|
|
help
|
|
|
|
This enables syslogd to rotate the message files
|
|
|
|
on his own. No need to use an external rotatescript.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_REMOTE_LOG
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Remote Log support"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on SYSLOGD
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-02-28 07:20:55 +00:00
|
|
|
When you enable this feature, the syslogd utility can
|
|
|
|
be used to send system log messages to another system
|
2008-07-22 18:27:53 +00:00
|
|
|
connected via a network. This allows the remote
|
2003-02-28 07:20:55 +00:00
|
|
|
machine to log all the system messages, which can be
|
|
|
|
terribly useful for reducing the number of serial
|
2008-07-22 18:27:53 +00:00
|
|
|
cables you use. It can also be a very good security
|
2003-02-28 07:20:55 +00:00
|
|
|
measure to prevent system logs from being tampered with
|
|
|
|
by an intruder.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2008-02-26 20:13:52 +00:00
|
|
|
config FEATURE_SYSLOGD_DUP
|
|
|
|
bool "Support -D (drop dups) option"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2008-02-26 20:13:52 +00:00
|
|
|
depends on SYSLOGD
|
|
|
|
help
|
|
|
|
Option -D instructs syslogd to drop consecutive messages
|
|
|
|
which are totally the same.
|
|
|
|
|
2010-03-31 13:58:58 +00:00
|
|
|
config FEATURE_SYSLOGD_READ_BUFFER_SIZE
|
2010-03-31 14:03:56 +00:00
|
|
|
int "Read buffer size in bytes"
|
|
|
|
default 256
|
|
|
|
range 256 20000
|
|
|
|
depends on SYSLOGD
|
|
|
|
help
|
|
|
|
This option sets the size of the syslog read buffer.
|
|
|
|
Actual memory usage increases around five times the
|
|
|
|
change done here.
|
2010-03-31 13:58:58 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_IPC_SYSLOG
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Circular Buffer support"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on SYSLOGD
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-02-28 07:20:55 +00:00
|
|
|
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
|
2008-07-22 18:27:53 +00:00
|
|
|
the oldest messages. This can be very useful for
|
2003-10-22 09:58:56 +00:00
|
|
|
systems with little or no permanent storage, since
|
2003-02-28 07:20:55 +00:00
|
|
|
otherwise system logs can eventually fill up your
|
|
|
|
entire filesystem, which may cause your system to
|
|
|
|
break badly.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_IPC_SYSLOG_BUFFER_SIZE
|
2008-03-17 09:13:22 +00:00
|
|
|
int "Circular buffer size in Kbytes (minimum 4KB)"
|
2003-12-19 11:32:14 +00:00
|
|
|
default 16
|
2007-06-07 13:22:56 +00:00
|
|
|
range 4 2147483647
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on FEATURE_IPC_SYSLOG
|
2003-12-19 11:32:14 +00:00
|
|
|
help
|
|
|
|
This option sets the size of the circular buffer
|
|
|
|
used to record system log messages.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config LOGREAD
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "logread"
|
2002-12-05 08:41:41 +00:00
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on FEATURE_IPC_SYSLOG
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-02-28 07:20:55 +00:00
|
|
|
If you enabled Circular Buffer support, you almost
|
2008-07-22 18:27:53 +00:00
|
|
|
certainly want to enable this feature as well. This
|
2003-02-28 07:20:55 +00:00
|
|
|
utility will allow you to read the messages that are
|
|
|
|
stored in the syslogd circular buffer.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_LOGREAD_REDUCED_LOCKING
|
2008-03-17 09:13:22 +00:00
|
|
|
bool "Double buffering"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on LOGREAD
|
2003-12-19 11:32:14 +00:00
|
|
|
help
|
2004-03-15 08:29:22 +00:00
|
|
|
'logread' ouput to slow serial terminals can have
|
2003-12-19 11:32:14 +00:00
|
|
|
side effects on syslog because of the semaphore.
|
2004-03-15 08:29:22 +00:00
|
|
|
This option make logread to double buffer copy
|
|
|
|
from circular buffer, minimizing semaphore
|
2003-12-19 11:32:14 +00:00
|
|
|
contention at some minor memory expense.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config KLOGD
|
2003-02-28 07:20:55 +00:00
|
|
|
bool "klogd"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2003-02-28 07:20:55 +00:00
|
|
|
help
|
2003-10-22 09:58:56 +00:00
|
|
|
klogd is a utility which intercepts and logs all
|
2003-02-28 07:20:55 +00:00
|
|
|
messages from the Linux kernel and sends the messages
|
2008-07-22 18:27:53 +00:00
|
|
|
out to the 'syslogd' utility so they can be logged. If
|
2003-02-28 07:20:55 +00:00
|
|
|
you wish to record the messages produced by the kernel,
|
|
|
|
you should enable this option.
|
|
|
|
|
2010-08-01 01:01:44 +00:00
|
|
|
config FEATURE_KLOGD_KLOGCTL
|
|
|
|
bool "Use the klogctl() interface"
|
|
|
|
default y
|
2011-02-26 21:24:08 +00:00
|
|
|
depends on KLOGD
|
|
|
|
select PLATFORM_LINUX
|
2010-08-01 01:01:44 +00:00
|
|
|
help
|
|
|
|
The klogd applet supports two interfaces for reading
|
|
|
|
kernel messages. Linux provides the klogctl() interface
|
|
|
|
which allows reading messages from the kernel ring buffer
|
|
|
|
independently from the file system.
|
|
|
|
|
|
|
|
If you answer 'N' here, klogd will use the more portable
|
|
|
|
approach of reading them from /proc or a device node.
|
|
|
|
However, this method requires the file to be available.
|
|
|
|
|
|
|
|
If in doubt, say 'Y'.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config LOGGER
|
2003-02-28 07:20:55 +00:00
|
|
|
bool "logger"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
select FEATURE_SYSLOG
|
2003-02-28 07:20:55 +00:00
|
|
|
help
|
2003-07-26 08:20:46 +00:00
|
|
|
The logger utility allows you to send arbitrary text
|
|
|
|
messages to the system log (i.e. the 'syslogd' utility) so
|
2008-07-22 18:27:53 +00:00
|
|
|
they can be logged. This is generally used to help locate
|
2003-07-26 08:20:46 +00:00
|
|
|
problems that occur within programs and scripts.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
|
|
|
endmenu
|