menu "System Logging Utilities"
+INSERT
+
config SYSLOGD
bool "syslogd"
- default n
+ default y
help
The syslogd utility is used to record logs of all the
significant events that occur on a system. Every
config FEATURE_ROTATE_LOGFILE
bool "Rotate message files"
- default n
+ default y
depends on SYSLOGD
help
This enables syslogd to rotate the message files
config FEATURE_REMOTE_LOG
bool "Remote Log support"
- default n
+ default y
depends on SYSLOGD
help
When you enable this feature, the syslogd utility can
config FEATURE_SYSLOGD_DUP
bool "Support -D (drop dups) option"
- default n
+ default y
depends on SYSLOGD
help
Option -D instructs syslogd to drop consecutive messages
which are totally the same.
+config FEATURE_SYSLOGD_CFG
+ bool "Support syslog.conf"
+ default y
+ depends on SYSLOGD
+ help
+ Supports restricted syslogd config. See docs/syslog.conf.txt
+
config FEATURE_SYSLOGD_READ_BUFFER_SIZE
int "Read buffer size in bytes"
default 256
config FEATURE_IPC_SYSLOG
bool "Circular Buffer support"
- default n
+ default y
depends on SYSLOGD
help
When you enable this feature, the syslogd utility will
config FEATURE_LOGREAD_REDUCED_LOCKING
bool "Double buffering"
- default n
+ default y
depends on LOGREAD
help
'logread' ouput to slow serial terminals can have
from circular buffer, minimizing semaphore
contention at some minor memory expense.
+config FEATURE_KMSG_SYSLOG
+ bool "Linux kernel printk buffer support"
+ default y
+ depends on SYSLOGD
+ select PLATFORM_LINUX
+ help
+ When you enable this feature, the syslogd utility will
+ write system log message to the Linux kernel's printk buffer.
+ This can be used as a smaller alternative to the syslogd IPC
+ support, as klogd and logread aren't needed.
+
+ NOTICE: Syslog facilities in log entries needs kernel 3.5+.
+
config KLOGD
bool "klogd"
- default n
+ default y
help
klogd is a utility which intercepts and logs all
messages from the Linux kernel and sends the messages
you wish to record the messages produced by the kernel,
you should enable this option.
+comment "klogd should not be used together with syslog to kernel printk buffer"
+ depends on KLOGD && FEATURE_KMSG_SYSLOG
+
+config FEATURE_KLOGD_KLOGCTL
+ bool "Use the klogctl() interface"
+ default y
+ depends on KLOGD
+ select PLATFORM_LINUX
+ 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'.
+
config LOGGER
bool "logger"
- default n
+ default y
select FEATURE_SYSLOG
help
The logger utility allows you to send arbitrary text
problems that occur within programs and scripts.
endmenu
-