| 1 | # DO NOT EDIT. This file is generated from Config.src |
| 2 | # |
| 3 | # For a description of the syntax of this configuration file, |
| 4 | # see scripts/kbuild/config-language.txt. |
| 5 | # |
| 6 | |
| 7 | menu "System Logging Utilities" |
| 8 | |
| 9 | |
| 10 | |
| 11 | config BUSYBOX_CONFIG_SYSLOGD |
| 12 | bool "syslogd" |
| 13 | default y |
| 14 | help |
| 15 | The syslogd utility is used to record logs of all the |
| 16 | significant events that occur on a system. Every |
| 17 | message that is logged records the date and time of the |
| 18 | event, and will generally also record the name of the |
| 19 | application that generated the message. When used in |
| 20 | conjunction with klogd, messages from the Linux kernel |
| 21 | can also be recorded. This is terribly useful, |
| 22 | especially for finding what happened when something goes |
| 23 | wrong. And something almost always will go wrong if |
| 24 | you wait long enough.... |
| 25 | |
| 26 | config BUSYBOX_CONFIG_FEATURE_ROTATE_LOGFILE |
| 27 | bool "Rotate message files" |
| 28 | default y |
| 29 | depends on BUSYBOX_CONFIG_SYSLOGD |
| 30 | help |
| 31 | This enables syslogd to rotate the message files |
| 32 | on his own. No need to use an external rotatescript. |
| 33 | |
| 34 | config BUSYBOX_CONFIG_FEATURE_REMOTE_LOG |
| 35 | bool "Remote Log support" |
| 36 | default y |
| 37 | depends on BUSYBOX_CONFIG_SYSLOGD |
| 38 | help |
| 39 | When you enable this feature, the syslogd utility can |
| 40 | be used to send system log messages to another system |
| 41 | connected via a network. This allows the remote |
| 42 | machine to log all the system messages, which can be |
| 43 | terribly useful for reducing the number of serial |
| 44 | cables you use. It can also be a very good security |
| 45 | measure to prevent system logs from being tampered with |
| 46 | by an intruder. |
| 47 | |
| 48 | config BUSYBOX_CONFIG_FEATURE_SYSLOGD_DUP |
| 49 | bool "Support -D (drop dups) option" |
| 50 | default n |
| 51 | depends on BUSYBOX_CONFIG_SYSLOGD |
| 52 | help |
| 53 | Option -D instructs syslogd to drop consecutive messages |
| 54 | which are totally the same. |
| 55 | |
| 56 | config BUSYBOX_CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE |
| 57 | int "Read buffer size in bytes" |
| 58 | default 256 |
| 59 | range 256 20000 |
| 60 | depends on BUSYBOX_CONFIG_SYSLOGD |
| 61 | help |
| 62 | This option sets the size of the syslog read buffer. |
| 63 | Actual memory usage increases around five times the |
| 64 | change done here. |
| 65 | |
| 66 | config BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG |
| 67 | bool "Circular Buffer support" |
| 68 | default y |
| 69 | depends on BUSYBOX_CONFIG_SYSLOGD |
| 70 | help |
| 71 | When you enable this feature, the syslogd utility will |
| 72 | use a circular buffer to record system log messages. |
| 73 | When the buffer is filled it will continue to overwrite |
| 74 | the oldest messages. This can be very useful for |
| 75 | systems with little or no permanent storage, since |
| 76 | otherwise system logs can eventually fill up your |
| 77 | entire filesystem, which may cause your system to |
| 78 | break badly. |
| 79 | |
| 80 | config BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE |
| 81 | int "Circular buffer size in Kbytes (minimum 4KB)" |
| 82 | default 16 |
| 83 | range 4 2147483647 |
| 84 | depends on BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG |
| 85 | help |
| 86 | This option sets the size of the circular buffer |
| 87 | used to record system log messages. |
| 88 | |
| 89 | config BUSYBOX_CONFIG_LOGREAD |
| 90 | bool "logread" |
| 91 | default y |
| 92 | depends on BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG |
| 93 | help |
| 94 | If you enabled Circular Buffer support, you almost |
| 95 | certainly want to enable this feature as well. This |
| 96 | utility will allow you to read the messages that are |
| 97 | stored in the syslogd circular buffer. |
| 98 | |
| 99 | config BUSYBOX_CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING |
| 100 | bool "Double buffering" |
| 101 | default n |
| 102 | depends on BUSYBOX_CONFIG_LOGREAD |
| 103 | help |
| 104 | 'logread' ouput to slow serial terminals can have |
| 105 | side effects on syslog because of the semaphore. |
| 106 | This option make logread to double buffer copy |
| 107 | from circular buffer, minimizing semaphore |
| 108 | contention at some minor memory expense. |
| 109 | |
| 110 | config BUSYBOX_CONFIG_KLOGD |
| 111 | bool "klogd" |
| 112 | default y |
| 113 | help |
| 114 | klogd is a utility which intercepts and logs all |
| 115 | messages from the Linux kernel and sends the messages |
| 116 | out to the 'syslogd' utility so they can be logged. If |
| 117 | you wish to record the messages produced by the kernel, |
| 118 | you should enable this option. |
| 119 | |
| 120 | config BUSYBOX_CONFIG_FEATURE_KLOGD_KLOGCTL |
| 121 | bool "Use the klogctl() interface" |
| 122 | default y |
| 123 | depends on BUSYBOX_CONFIG_KLOGD && BUSYBOX_CONFIG_PLATFORM_LINUX |
| 124 | help |
| 125 | The klogd applet supports two interfaces for reading |
| 126 | kernel messages. Linux provides the klogctl() interface |
| 127 | which allows reading messages from the kernel ring buffer |
| 128 | independently from the file system. |
| 129 | |
| 130 | If you answer 'N' here, klogd will use the more portable |
| 131 | approach of reading them from /proc or a device node. |
| 132 | However, this method requires the file to be available. |
| 133 | |
| 134 | If in doubt, say 'Y'. |
| 135 | |
| 136 | config BUSYBOX_CONFIG_LOGGER |
| 137 | bool "logger" |
| 138 | default y |
| 139 | select BUSYBOX_CONFIG_FEATURE_SYSLOG |
| 140 | help |
| 141 | The logger utility allows you to send arbitrary text |
| 142 | messages to the system log (i.e. the 'syslogd' utility) so |
| 143 | they can be logged. This is generally used to help locate |
| 144 | problems that occur within programs and scripts. |
| 145 | |
| 146 | endmenu |
| 147 | |