Bump to version 1.22.1
[platform/upstream/busybox.git] / sysklogd / Config.src
index b500d54..fcf9930 100644 (file)
@@ -5,9 +5,11 @@
 
 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
@@ -22,7 +24,7 @@ config SYSLOGD
 
 config FEATURE_ROTATE_LOGFILE
        bool "Rotate message files"
-       default n
+       default y
        depends on SYSLOGD
        help
          This enables syslogd to rotate the message files
@@ -30,7 +32,7 @@ config FEATURE_ROTATE_LOGFILE
 
 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
@@ -44,12 +46,19 @@ config FEATURE_REMOTE_LOG
 
 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
@@ -62,7 +71,7 @@ config FEATURE_SYSLOGD_READ_BUFFER_SIZE
 
 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
@@ -95,7 +104,7 @@ config LOGREAD
 
 config FEATURE_LOGREAD_REDUCED_LOCKING
        bool "Double buffering"
-       default n
+       default y
        depends on LOGREAD
        help
          'logread' ouput to slow serial terminals can have
@@ -104,9 +113,22 @@ config FEATURE_LOGREAD_REDUCED_LOCKING
          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
@@ -114,9 +136,29 @@ config KLOGD
          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
@@ -125,4 +167,3 @@ config LOGGER
            problems that occur within programs and scripts.
 
 endmenu
-