blob: 9875b3c124859d62772cd2ba628403b563b40223 [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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00008config SYSLOGD
Eric Andersenc9f20d92002-12-05 08:41:41 +00009 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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000023config FEATURE_ROTATE_LOGFILE
Rob Landley2ec922e2006-04-13 23:22:16 +000024 bool "Rotate message files"
Eric Andersen29c77f72003-10-09 09:43:18 +000025 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000026 depends on SYSLOGD
Eric Andersen29c77f72003-10-09 09:43:18 +000027 help
28 This enables syslogd to rotate the message files
29 on his own. No need to use an external rotatescript.
30
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000031config FEATURE_REMOTE_LOG
Rob Landley2ec922e2006-04-13 23:22:16 +000032 bool "Remote Log support"
Eric Andersenc9f20d92002-12-05 08:41:41 +000033 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000034 depends on SYSLOGD
Eric Andersenc9f20d92002-12-05 08:41:41 +000035 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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000045config FEATURE_IPC_SYSLOG
Rob Landley2ec922e2006-04-13 23:22:16 +000046 bool "Circular Buffer support"
Eric Andersenc9f20d92002-12-05 08:41:41 +000047 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000048 depends on SYSLOGD
Eric Andersenc9f20d92002-12-05 08:41:41 +000049 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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000059config FEATURE_IPC_SYSLOG_BUFFER_SIZE
Eric Andersend4a5e252003-12-19 11:32:14 +000060 int " Circular buffer size in Kbytes (minimum 4KB)"
61 default 16
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000062 depends on FEATURE_IPC_SYSLOG
Eric Andersend4a5e252003-12-19 11:32:14 +000063 help
64 This option sets the size of the circular buffer
65 used to record system log messages.
66
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000067config LOGREAD
Rob Landley2ec922e2006-04-13 23:22:16 +000068 bool "logread"
Eric Andersenc9f20d92002-12-05 08:41:41 +000069 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000070 depends on FEATURE_IPC_SYSLOG
Eric Andersenc9f20d92002-12-05 08:41:41 +000071 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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000077config FEATURE_LOGREAD_REDUCED_LOCKING
Rob Landley2ec922e2006-04-13 23:22:16 +000078 bool "logread double buffering"
Eric Andersend4a5e252003-12-19 11:32:14 +000079 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000080 depends on LOGREAD
Eric Andersend4a5e252003-12-19 11:32:14 +000081 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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000088config KLOGD
Eric Andersen08f4a4c2003-02-28 07:20:55 +000089 bool "klogd"
90 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000091 depends on SYSLOGD
92 select FEATURE_SYSLOG
Eric Andersen08f4a4c2003-02-28 07:20:55 +000093 help
Eric Andersen88c916b2003-10-22 09:58:56 +000094 klogd is a utility which intercepts and logs all
Eric Andersen08f4a4c2003-02-28 07:20:55 +000095 messages from the Linux kernel and sends the messages
96 out to the 'syslogd' utility so they can be logged. If
97 you wish to record the messages produced by the kernel,
98 you should enable this option.
99
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000100config LOGGER
Eric Andersen08f4a4c2003-02-28 07:20:55 +0000101 bool "logger"
102 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000103 select FEATURE_SYSLOG
Eric Andersen08f4a4c2003-02-28 07:20:55 +0000104 help
Eric Andersen480f1532003-07-26 08:20:46 +0000105 The logger utility allows you to send arbitrary text
106 messages to the system log (i.e. the 'syslogd' utility) so
107 they can be logged. This is generally used to help locate
108 problems that occur within programs and scripts.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000109
110endmenu
111