blob: f77d79e8c1569b6624bc5b9df0e68ad09e58d4f8 [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "System Logging Utilities"
7
Eric Andersenc9f20d92002-12-05 08:41:41 +00008config CONFIG_SYSLOGD
9 bool "syslogd"
10 default n
11 help
Eric Andersen08f4a4c2003-02-28 07:20:55 +000012 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,
Eric Andersen88c916b2003-10-22 09:58:56 +000019 especially for finding what happened when something goes
Eric Andersen08f4a4c2003-02-28 07:20:55 +000020 wrong. And something almost always will go wrong if
21 you wait long enough....
Eric Andersenc9f20d92002-12-05 08:41:41 +000022
Eric Andersen29c77f72003-10-09 09:43:18 +000023config CONFIG_FEATURE_ROTATE_LOGFILE
24 bool " Rotate message files"
25 default n
26 depends on CONFIG_SYSLOGD
27 help
28 This enables syslogd to rotate the message files
29 on his own. No need to use an external rotatescript.
30
Eric Andersenc9f20d92002-12-05 08:41:41 +000031config CONFIG_FEATURE_REMOTE_LOG
32 bool " Remote Log support"
33 default n
34 depends on CONFIG_SYSLOGD
35 help
Eric Andersen08f4a4c2003-02-28 07:20:55 +000036 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.
Eric Andersenc9f20d92002-12-05 08:41:41 +000044
45config CONFIG_FEATURE_IPC_SYSLOG
46 bool " Circular Buffer support"
47 default n
48 depends on CONFIG_SYSLOGD
49 help
Eric Andersen08f4a4c2003-02-28 07:20:55 +000050 When you enable this feature, the syslogd utility will
51 use a circular buffer to record system log messages.
52 When the buffer is filled it will continue to overwrite
Eric Andersen88c916b2003-10-22 09:58:56 +000053 the oldest messages. This can be very useful for
54 systems with little or no permanent storage, since
Eric Andersen08f4a4c2003-02-28 07:20:55 +000055 otherwise system logs can eventually fill up your
56 entire filesystem, which may cause your system to
57 break badly.
Eric Andersenc9f20d92002-12-05 08:41:41 +000058
Eric Andersend4a5e252003-12-19 11:32:14 +000059config CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE
60 int " Circular buffer size in Kbytes (minimum 4KB)"
61 default 16
62 depends on CONFIG_FEATURE_IPC_SYSLOG
63 help
64 This option sets the size of the circular buffer
65 used to record system log messages.
66
Eric Andersenc9f20d92002-12-05 08:41:41 +000067config CONFIG_LOGREAD
68 bool " logread"
69 default y
70 depends on CONFIG_FEATURE_IPC_SYSLOG
71 help
Eric Andersen08f4a4c2003-02-28 07:20:55 +000072 If you enabled Circular Buffer support, you almost
73 certainly want to enable this feature as well. This
74 utility will allow you to read the messages that are
75 stored in the syslogd circular buffer.
76
Eric Andersend4a5e252003-12-19 11:32:14 +000077config CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING
78 bool " logread double buffering"
79 default n
80 depends on CONFIG_LOGREAD
81 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +000082 'logread' ouput to slow serial terminals can have
Eric Andersend4a5e252003-12-19 11:32:14 +000083 side effects on syslog because of the semaphore.
Eric Andersenc7bda1c2004-03-15 08:29:22 +000084 This option make logread to double buffer copy
85 from circular buffer, minimizing semaphore
Eric Andersend4a5e252003-12-19 11:32:14 +000086 contention at some minor memory expense.
87
Eric Andersen08f4a4c2003-02-28 07:20:55 +000088config CONFIG_KLOGD
89 bool "klogd"
90 default n
91 depends on CONFIG_SYSLOGD
92 help
Eric Andersen88c916b2003-10-22 09:58:56 +000093 klogd is a utility which intercepts and logs all
Eric Andersen08f4a4c2003-02-28 07:20:55 +000094 messages from the Linux kernel and sends the messages
95 out to the 'syslogd' utility so they can be logged. If
96 you wish to record the messages produced by the kernel,
97 you should enable this option.
98
99config CONFIG_LOGGER
100 bool "logger"
101 default n
Eric Andersen08f4a4c2003-02-28 07:20:55 +0000102 help
Eric Andersen480f1532003-07-26 08:20:46 +0000103 The logger utility allows you to send arbitrary text
104 messages to the system log (i.e. the 'syslogd' utility) so
105 they can be logged. This is generally used to help locate
106 problems that occur within programs and scripts.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000107
108endmenu
109