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