diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2010-11-28 21:57:24 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2010-11-28 21:57:24 +0100 |
commit | 2c27a4ba9d9d652426e6380cb52026021d00afc6 (patch) | |
tree | b1a0b52c98a4077b574879f9f6bb3891c83f20ad /packages/busybox/busybox-kconfigs/busybox-sysklogd.kconfig | |
parent | 105aee13de696de79e7cac1208b807fe0286fe4e (diff) | |
download | embtoolkit-2c27a4ba9d9d652426e6380cb52026021d00afc6.tar.gz embtoolkit-2c27a4ba9d9d652426e6380cb52026021d00afc6.tar.bz2 embtoolkit-2c27a4ba9d9d652426e6380cb52026021d00afc6.tar.xz |
Packages: busybox: give ability to configure busybox directly into Embtoolkit configuration menu
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'packages/busybox/busybox-kconfigs/busybox-sysklogd.kconfig')
-rw-r--r-- | packages/busybox/busybox-kconfigs/busybox-sysklogd.kconfig | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/packages/busybox/busybox-kconfigs/busybox-sysklogd.kconfig b/packages/busybox/busybox-kconfigs/busybox-sysklogd.kconfig new file mode 100644 index 0000000..d4ec149 --- /dev/null +++ b/packages/busybox/busybox-kconfigs/busybox-sysklogd.kconfig @@ -0,0 +1,111 @@ +# +# For a description of the syntax of this configuration file, +# see scripts/kbuild/config-language.txt. +# + +comment "-------------------------------------------------" +comment "System Logging Utilities" +comment "-------------------------------------------------" + +config KEMBTK_BUSYB_SYSLOGD + bool "syslogd" + help + The syslogd utility is used to record logs of all the + significant events that occur on a system. Every + message that is logged records the date and time of the + event, and will generally also record the name of the + application that generated the message. When used in + conjunction with klogd, messages from the Linux kernel + can also be recorded. This is terribly useful, + especially for finding what happened when something goes + wrong. And something almost always will go wrong if + you wait long enough.... + +config KEMBTK_BUSYB_FEATURE_ROTATE_LOGFILE + bool "Rotate message files" + depends on KEMBTK_BUSYB_SYSLOGD + help + This enables syslogd to rotate the message files + on his own. No need to use an external rotatescript. + +config KEMBTK_BUSYB_FEATURE_REMOTE_LOG + bool "Remote Log support" + depends on KEMBTK_BUSYB_SYSLOGD + help + When you enable this feature, the syslogd utility can + be used to send system log messages to another system + connected via a network. This allows the remote + machine to log all the system messages, which can be + terribly useful for reducing the number of serial + cables you use. It can also be a very good security + measure to prevent system logs from being tampered with + by an intruder. + +config KEMBTK_BUSYB_FEATURE_SYSLOGD_DUP + bool "Support -D (drop dups) option" + depends on KEMBTK_BUSYB_SYSLOGD + help + Option -D instructs syslogd to drop consecutive messages + which are totally the same. + +config KEMBTK_BUSYB_FEATURE_IPC_SYSLOG + bool "Circular Buffer support" + depends on KEMBTK_BUSYB_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 + the oldest messages. This can be very useful for + 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 KEMBTK_BUSYB_FEATURE_IPC_SYSLOG_BUFFER_SIZE + int "Circular buffer size in Kbytes (minimum 4KB)" + default 16 + range 4 2147483647 + depends on KEMBTK_BUSYB_FEATURE_IPC_SYSLOG + help + This option sets the size of the circular buffer + used to record system log messages. + +config KEMBTK_BUSYB_LOGREAD + bool "logread" + default y + depends on KEMBTK_BUSYB_FEATURE_IPC_SYSLOG + help + If you enabled Circular Buffer support, you almost + certainly want to enable this feature as well. This + utility will allow you to read the messages that are + stored in the syslogd circular buffer. + +config KEMBTK_BUSYB_FEATURE_LOGREAD_REDUCED_LOCKING + bool "Double buffering" + depends on KEMBTK_BUSYB_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 KEMBTK_BUSYB_KLOGD + bool "klogd" + help + klogd is a utility which intercepts and logs all + messages from the Linux kernel and sends the messages + out to the 'syslogd' utility so they can be logged. If + you wish to record the messages produced by the kernel, + you should enable this option. + +config KEMBTK_BUSYB_LOGGER + bool "logger" + select KEMBTK_BUSYB_FEATURE_SYSLOG + help + The logger utility allows you to send arbitrary text + messages to the system log (i.e. the 'syslogd' utility) so + they can be logged. This is generally used to help locate + problems that occur within programs and scripts. + + |