diff options
Diffstat (limited to 'sysklogd/Config.src')
-rw-r--r-- | sysklogd/Config.src | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/sysklogd/Config.src b/sysklogd/Config.src new file mode 100644 index 000000000..af00d65bb --- /dev/null +++ b/sysklogd/Config.src | |||
@@ -0,0 +1,128 @@ | |||
1 | # | ||
2 | # For a description of the syntax of this configuration file, | ||
3 | # see scripts/kbuild/config-language.txt. | ||
4 | # | ||
5 | |||
6 | menu "System Logging Utilities" | ||
7 | |||
8 | config SYSLOGD | ||
9 | bool "syslogd" | ||
10 | default y | ||
11 | help | ||
12 | The syslogd utility is used to record logs of all the | ||
13 | significant events that occur on a system. Every | ||
14 | message that is logged records the date and time of the | ||
15 | event, and will generally also record the name of the | ||
16 | application that generated the message. When used in | ||
17 | conjunction with klogd, messages from the Linux kernel | ||
18 | can also be recorded. This is terribly useful, | ||
19 | especially for finding what happened when something goes | ||
20 | wrong. And something almost always will go wrong if | ||
21 | you wait long enough.... | ||
22 | |||
23 | config FEATURE_ROTATE_LOGFILE | ||
24 | bool "Rotate message files" | ||
25 | default y | ||
26 | depends on SYSLOGD | ||
27 | help | ||
28 | This enables syslogd to rotate the message files | ||
29 | on his own. No need to use an external rotatescript. | ||
30 | |||
31 | config FEATURE_REMOTE_LOG | ||
32 | bool "Remote Log support" | ||
33 | default y | ||
34 | depends on SYSLOGD | ||
35 | help | ||
36 | When you enable this feature, the syslogd utility can | ||
37 | be used to send system log messages to another system | ||
38 | connected via a network. This allows the remote | ||
39 | machine to log all the system messages, which can be | ||
40 | terribly useful for reducing the number of serial | ||
41 | cables you use. It can also be a very good security | ||
42 | measure to prevent system logs from being tampered with | ||
43 | by an intruder. | ||
44 | |||
45 | config FEATURE_SYSLOGD_DUP | ||
46 | bool "Support -D (drop dups) option" | ||
47 | default y | ||
48 | depends on SYSLOGD | ||
49 | help | ||
50 | Option -D instructs syslogd to drop consecutive messages | ||
51 | which are totally the same. | ||
52 | |||
53 | config FEATURE_SYSLOGD_READ_BUFFER_SIZE | ||
54 | int "Read buffer size in bytes" | ||
55 | default 256 | ||
56 | range 256 20000 | ||
57 | depends on SYSLOGD | ||
58 | help | ||
59 | This option sets the size of the syslog read buffer. | ||
60 | Actual memory usage increases around five times the | ||
61 | change done here. | ||
62 | |||
63 | config FEATURE_IPC_SYSLOG | ||
64 | bool "Circular Buffer support" | ||
65 | default y | ||
66 | depends on SYSLOGD | ||
67 | help | ||
68 | When you enable this feature, the syslogd utility will | ||
69 | use a circular buffer to record system log messages. | ||
70 | When the buffer is filled it will continue to overwrite | ||
71 | the oldest messages. This can be very useful for | ||
72 | systems with little or no permanent storage, since | ||
73 | otherwise system logs can eventually fill up your | ||
74 | entire filesystem, which may cause your system to | ||
75 | break badly. | ||
76 | |||
77 | config FEATURE_IPC_SYSLOG_BUFFER_SIZE | ||
78 | int "Circular buffer size in Kbytes (minimum 4KB)" | ||
79 | default 16 | ||
80 | range 4 2147483647 | ||
81 | depends on FEATURE_IPC_SYSLOG | ||
82 | help | ||
83 | This option sets the size of the circular buffer | ||
84 | used to record system log messages. | ||
85 | |||
86 | config LOGREAD | ||
87 | bool "logread" | ||
88 | default y | ||
89 | depends on FEATURE_IPC_SYSLOG | ||
90 | help | ||
91 | If you enabled Circular Buffer support, you almost | ||
92 | certainly want to enable this feature as well. This | ||
93 | utility will allow you to read the messages that are | ||
94 | stored in the syslogd circular buffer. | ||
95 | |||
96 | config FEATURE_LOGREAD_REDUCED_LOCKING | ||
97 | bool "Double buffering" | ||
98 | default y | ||
99 | depends on LOGREAD | ||
100 | help | ||
101 | 'logread' ouput to slow serial terminals can have | ||
102 | side effects on syslog because of the semaphore. | ||
103 | This option make logread to double buffer copy | ||
104 | from circular buffer, minimizing semaphore | ||
105 | contention at some minor memory expense. | ||
106 | |||
107 | config KLOGD | ||
108 | bool "klogd" | ||
109 | default y | ||
110 | help | ||
111 | klogd is a utility which intercepts and logs all | ||
112 | messages from the Linux kernel and sends the messages | ||
113 | out to the 'syslogd' utility so they can be logged. If | ||
114 | you wish to record the messages produced by the kernel, | ||
115 | you should enable this option. | ||
116 | |||
117 | config LOGGER | ||
118 | bool "logger" | ||
119 | default y | ||
120 | select FEATURE_SYSLOG | ||
121 | help | ||
122 | The logger utility allows you to send arbitrary text | ||
123 | messages to the system log (i.e. the 'syslogd' utility) so | ||
124 | they can be logged. This is generally used to help locate | ||
125 | problems that occur within programs and scripts. | ||
126 | |||
127 | endmenu | ||
128 | |||