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