merge: busybox: update CONFIG_NSLOOKUP in busybox config and respective patch
[oweals/openwrt.git] / package / utils / busybox / config / sysklogd / Config.in
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 config BUSYBOX_CONFIG_KLOGD
10         bool "klogd"
11         default BUSYBOX_DEFAULT_KLOGD
12         help
13           klogd is a utility which intercepts and logs all
14           messages from the Linux kernel and sends the messages
15           out to the 'syslogd' utility so they can be logged. If
16           you wish to record the messages produced by the kernel,
17           you should enable this option.
18
19 comment "klogd should not be used together with syslog to kernel printk buffer"
20         depends on BUSYBOX_CONFIG_KLOGD && BUSYBOX_CONFIG_FEATURE_KMSG_SYSLOG
21
22 config BUSYBOX_CONFIG_FEATURE_KLOGD_KLOGCTL
23         bool "Use the klogctl() interface"
24         default BUSYBOX_DEFAULT_FEATURE_KLOGD_KLOGCTL
25         depends on BUSYBOX_CONFIG_KLOGD
26         select BUSYBOX_CONFIG_PLATFORM_LINUX
27         help
28           The klogd applet supports two interfaces for reading
29           kernel messages. Linux provides the klogctl() interface
30           which allows reading messages from the kernel ring buffer
31           independently from the file system.
32
33           If you answer 'N' here, klogd will use the more portable
34           approach of reading them from /proc or a device node.
35           However, this method requires the file to be available.
36
37           If in doubt, say 'Y'.
38 config BUSYBOX_CONFIG_LOGGER
39         bool "logger"
40         default BUSYBOX_DEFAULT_LOGGER
41         select BUSYBOX_CONFIG_FEATURE_SYSLOG
42         help
43             The logger utility allows you to send arbitrary text
44             messages to the system log (i.e. the 'syslogd' utility) so
45             they can be logged. This is generally used to help locate
46             problems that occur within programs and scripts.
47 config BUSYBOX_CONFIG_LOGREAD
48         bool "logread"
49         default BUSYBOX_DEFAULT_LOGREAD
50         help
51           If you enabled Circular Buffer support, you almost
52           certainly want to enable this feature as well. This
53           utility will allow you to read the messages that are
54           stored in the syslogd circular buffer.
55
56 config BUSYBOX_CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING
57         bool "Double buffering"
58         default BUSYBOX_DEFAULT_FEATURE_LOGREAD_REDUCED_LOCKING
59         depends on BUSYBOX_CONFIG_LOGREAD
60         help
61           'logread' output to slow serial terminals can have
62           side effects on syslog because of the semaphore.
63           This option make logread to double buffer copy
64           from circular buffer, minimizing semaphore
65           contention at some minor memory expense.
66
67 config BUSYBOX_CONFIG_SYSLOGD
68         bool "syslogd"
69         default BUSYBOX_DEFAULT_SYSLOGD
70         help
71           The syslogd utility is used to record logs of all the
72           significant events that occur on a system. Every
73           message that is logged records the date and time of the
74           event, and will generally also record the name of the
75           application that generated the message. When used in
76           conjunction with klogd, messages from the Linux kernel
77           can also be recorded. This is terribly useful,
78           especially for finding what happened when something goes
79           wrong. And something almost always will go wrong if
80           you wait long enough....
81
82 config BUSYBOX_CONFIG_FEATURE_ROTATE_LOGFILE
83         bool "Rotate message files"
84         default BUSYBOX_DEFAULT_FEATURE_ROTATE_LOGFILE
85         depends on BUSYBOX_CONFIG_SYSLOGD
86         help
87           This enables syslogd to rotate the message files
88           on his own. No need to use an external rotate script.
89
90 config BUSYBOX_CONFIG_FEATURE_REMOTE_LOG
91         bool "Remote Log support"
92         default BUSYBOX_DEFAULT_FEATURE_REMOTE_LOG
93         depends on BUSYBOX_CONFIG_SYSLOGD
94         help
95           When you enable this feature, the syslogd utility can
96           be used to send system log messages to another system
97           connected via a network. This allows the remote
98           machine to log all the system messages, which can be
99           terribly useful for reducing the number of serial
100           cables you use. It can also be a very good security
101           measure to prevent system logs from being tampered with
102           by an intruder.
103
104 config BUSYBOX_CONFIG_FEATURE_SYSLOGD_DUP
105         bool "Support -D (drop dups) option"
106         default BUSYBOX_DEFAULT_FEATURE_SYSLOGD_DUP
107         depends on BUSYBOX_CONFIG_SYSLOGD
108         help
109           Option -D instructs syslogd to drop consecutive messages
110           which are totally the same.
111
112 config BUSYBOX_CONFIG_FEATURE_SYSLOGD_CFG
113         bool "Support syslog.conf"
114         default BUSYBOX_DEFAULT_FEATURE_SYSLOGD_CFG
115         depends on BUSYBOX_CONFIG_SYSLOGD
116         help
117           Supports restricted syslogd config. See docs/syslog.conf.txt
118
119 config BUSYBOX_CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE
120         int "Read buffer size in bytes"
121         default BUSYBOX_DEFAULT_FEATURE_SYSLOGD_READ_BUFFER_SIZE
122         range 256 20000
123         depends on BUSYBOX_CONFIG_SYSLOGD
124         help
125           This option sets the size of the syslog read buffer.
126           Actual memory usage increases around five times the
127           change done here.
128
129 config BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG
130         bool "Circular Buffer support"
131         default BUSYBOX_DEFAULT_FEATURE_IPC_SYSLOG
132         depends on BUSYBOX_CONFIG_SYSLOGD
133         help
134           When you enable this feature, the syslogd utility will
135           use a circular buffer to record system log messages.
136           When the buffer is filled it will continue to overwrite
137           the oldest messages. This can be very useful for
138           systems with little or no permanent storage, since
139           otherwise system logs can eventually fill up your
140           entire filesystem, which may cause your system to
141           break badly.
142
143 config BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE
144         int "Circular buffer size in Kbytes (minimum 4KB)"
145         default BUSYBOX_DEFAULT_FEATURE_IPC_SYSLOG_BUFFER_SIZE
146         range 4 2147483647
147         depends on BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG
148         help
149           This option sets the size of the circular buffer
150           used to record system log messages.
151
152 config BUSYBOX_CONFIG_FEATURE_KMSG_SYSLOG
153         bool "Linux kernel printk buffer support"
154         default BUSYBOX_DEFAULT_FEATURE_KMSG_SYSLOG
155         depends on BUSYBOX_CONFIG_SYSLOGD
156         select BUSYBOX_CONFIG_PLATFORM_LINUX
157         help
158           When you enable this feature, the syslogd utility will
159           write system log message to the Linux kernel's printk buffer.
160           This can be used as a smaller alternative to the syslogd IPC
161           support, as klogd and logread aren't needed.
162
163           NOTICE: Syslog facilities in log entries needs kernel 3.5+.
164
165 endmenu