busybox: update to version 1.25.0
[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         depends on BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG
51         help
52           If you enabled Circular Buffer support, you almost
53           certainly want to enable this feature as well. This
54           utility will allow you to read the messages that are
55           stored in the syslogd circular buffer.
56
57 config BUSYBOX_CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING
58         bool "Double buffering"
59         default BUSYBOX_DEFAULT_FEATURE_LOGREAD_REDUCED_LOCKING
60         depends on BUSYBOX_CONFIG_LOGREAD
61         help
62           'logread' ouput to slow serial terminals can have
63           side effects on syslog because of the semaphore.
64           This option make logread to double buffer copy
65           from circular buffer, minimizing semaphore
66           contention at some minor memory expense.
67
68 config BUSYBOX_CONFIG_SYSLOGD
69         bool "syslogd"
70         default BUSYBOX_DEFAULT_SYSLOGD
71         help
72           The syslogd utility is used to record logs of all the
73           significant events that occur on a system. Every
74           message that is logged records the date and time of the
75           event, and will generally also record the name of the
76           application that generated the message. When used in
77           conjunction with klogd, messages from the Linux kernel
78           can also be recorded. This is terribly useful,
79           especially for finding what happened when something goes
80           wrong. And something almost always will go wrong if
81           you wait long enough....
82
83 config BUSYBOX_CONFIG_FEATURE_ROTATE_LOGFILE
84         bool "Rotate message files"
85         default BUSYBOX_DEFAULT_FEATURE_ROTATE_LOGFILE
86         depends on BUSYBOX_CONFIG_SYSLOGD
87         help
88           This enables syslogd to rotate the message files
89           on his own. No need to use an external rotate script.
90
91 config BUSYBOX_CONFIG_FEATURE_REMOTE_LOG
92         bool "Remote Log support"
93         default BUSYBOX_DEFAULT_FEATURE_REMOTE_LOG
94         depends on BUSYBOX_CONFIG_SYSLOGD
95         help
96           When you enable this feature, the syslogd utility can
97           be used to send system log messages to another system
98           connected via a network. This allows the remote
99           machine to log all the system messages, which can be
100           terribly useful for reducing the number of serial
101           cables you use. It can also be a very good security
102           measure to prevent system logs from being tampered with
103           by an intruder.
104
105 config BUSYBOX_CONFIG_FEATURE_SYSLOGD_DUP
106         bool "Support -D (drop dups) option"
107         default BUSYBOX_DEFAULT_FEATURE_SYSLOGD_DUP
108         depends on BUSYBOX_CONFIG_SYSLOGD
109         help
110           Option -D instructs syslogd to drop consecutive messages
111           which are totally the same.
112
113 config BUSYBOX_CONFIG_FEATURE_SYSLOGD_CFG
114         bool "Support syslog.conf"
115         default BUSYBOX_DEFAULT_FEATURE_SYSLOGD_CFG
116         depends on BUSYBOX_CONFIG_SYSLOGD
117         help
118           Supports restricted syslogd config. See docs/syslog.conf.txt
119
120 config BUSYBOX_CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE
121         int "Read buffer size in bytes"
122         default BUSYBOX_DEFAULT_FEATURE_SYSLOGD_READ_BUFFER_SIZE
123         range 256 20000
124         depends on BUSYBOX_CONFIG_SYSLOGD
125         help
126           This option sets the size of the syslog read buffer.
127           Actual memory usage increases around five times the
128           change done here.
129
130 config BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG
131         bool "Circular Buffer support"
132         default BUSYBOX_DEFAULT_FEATURE_IPC_SYSLOG
133         depends on BUSYBOX_CONFIG_SYSLOGD
134         help
135           When you enable this feature, the syslogd utility will
136           use a circular buffer to record system log messages.
137           When the buffer is filled it will continue to overwrite
138           the oldest messages. This can be very useful for
139           systems with little or no permanent storage, since
140           otherwise system logs can eventually fill up your
141           entire filesystem, which may cause your system to
142           break badly.
143
144 config BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE
145         int "Circular buffer size in Kbytes (minimum 4KB)"
146         default BUSYBOX_DEFAULT_FEATURE_IPC_SYSLOG_BUFFER_SIZE
147         range 4 2147483647
148         depends on BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG
149         help
150           This option sets the size of the circular buffer
151           used to record system log messages.
152
153 config BUSYBOX_CONFIG_FEATURE_KMSG_SYSLOG
154         bool "Linux kernel printk buffer support"
155         default BUSYBOX_DEFAULT_FEATURE_KMSG_SYSLOG
156         depends on BUSYBOX_CONFIG_SYSLOGD
157         select BUSYBOX_CONFIG_PLATFORM_LINUX
158         help
159           When you enable this feature, the syslogd utility will
160           write system log message to the Linux kernel's printk buffer.
161           This can be used as a smaller alternative to the syslogd IPC
162           support, as klogd and logread aren't needed.
163
164           NOTICE: Syslog facilities in log entries needs kernel 3.5+.
165
166 endmenu