blob: 0664be08d341c0b12878a50decf53adaf2a4d904 [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
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000013 significant events that occur on a system. Every
Eric Andersen08f4a4c2003-02-28 07:20:55 +000014 message that is logged records the date and time of the
15 event, and will generally also record the name of the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000016 application that generated the message. When used in
Eric Andersen08f4a4c2003-02-28 07:20:55 +000017 conjunction with klogd, messages from the Linux kernel
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000018 can also be recorded. This is terribly useful,
Eric Andersen88c916b2003-10-22 09:58:56 +000019 especially for finding what happened when something goes
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000020 wrong. And something almost always will go wrong if
Eric Andersen08f4a4c2003-02-28 07:20:55 +000021 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
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000038 connected via a network. This allows the remote
Eric Andersen08f4a4c2003-02-28 07:20:55 +000039 machine to log all the system messages, which can be
40 terribly useful for reducing the number of serial
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000041 cables you use. It can also be a very good security
Eric Andersen08f4a4c2003-02-28 07:20:55 +000042 measure to prevent system logs from being tampered with
43 by an intruder.
Eric Andersenc9f20d92002-12-05 08:41:41 +000044
Denis Vlasenkobe048f22008-02-26 20:13:52 +000045config FEATURE_SYSLOGD_DUP
46 bool "Support -D (drop dups) option"
47 default n
48 depends on SYSLOGD
49 help
50 Option -D instructs syslogd to drop consecutive messages
51 which are totally the same.
52
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000053config FEATURE_IPC_SYSLOG
Rob Landley2ec922e2006-04-13 23:22:16 +000054 bool "Circular Buffer support"
Eric Andersenc9f20d92002-12-05 08:41:41 +000055 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000056 depends on SYSLOGD
Eric Andersenc9f20d92002-12-05 08:41:41 +000057 help
Eric Andersen08f4a4c2003-02-28 07:20:55 +000058 When you enable this feature, the syslogd utility will
59 use a circular buffer to record system log messages.
60 When the buffer is filled it will continue to overwrite
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000061 the oldest messages. This can be very useful for
Eric Andersen88c916b2003-10-22 09:58:56 +000062 systems with little or no permanent storage, since
Eric Andersen08f4a4c2003-02-28 07:20:55 +000063 otherwise system logs can eventually fill up your
64 entire filesystem, which may cause your system to
65 break badly.
Eric Andersenc9f20d92002-12-05 08:41:41 +000066
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000067config FEATURE_IPC_SYSLOG_BUFFER_SIZE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +000068 int "Circular buffer size in Kbytes (minimum 4KB)"
Eric Andersend4a5e252003-12-19 11:32:14 +000069 default 16
Bernhard Reutner-Fischerbb4b9f12007-06-07 13:22:56 +000070 range 4 2147483647
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000071 depends on FEATURE_IPC_SYSLOG
Eric Andersend4a5e252003-12-19 11:32:14 +000072 help
73 This option sets the size of the circular buffer
74 used to record system log messages.
75
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000076config LOGREAD
Rob Landley2ec922e2006-04-13 23:22:16 +000077 bool "logread"
Eric Andersenc9f20d92002-12-05 08:41:41 +000078 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000079 depends on FEATURE_IPC_SYSLOG
Eric Andersenc9f20d92002-12-05 08:41:41 +000080 help
Eric Andersen08f4a4c2003-02-28 07:20:55 +000081 If you enabled Circular Buffer support, you almost
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000082 certainly want to enable this feature as well. This
Eric Andersen08f4a4c2003-02-28 07:20:55 +000083 utility will allow you to read the messages that are
84 stored in the syslogd circular buffer.
85
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000086config FEATURE_LOGREAD_REDUCED_LOCKING
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +000087 bool "Double buffering"
Eric Andersend4a5e252003-12-19 11:32:14 +000088 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000089 depends on LOGREAD
Eric Andersend4a5e252003-12-19 11:32:14 +000090 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +000091 'logread' ouput to slow serial terminals can have
Eric Andersend4a5e252003-12-19 11:32:14 +000092 side effects on syslog because of the semaphore.
Eric Andersenc7bda1c2004-03-15 08:29:22 +000093 This option make logread to double buffer copy
94 from circular buffer, minimizing semaphore
Eric Andersend4a5e252003-12-19 11:32:14 +000095 contention at some minor memory expense.
96
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000097config KLOGD
Eric Andersen08f4a4c2003-02-28 07:20:55 +000098 bool "klogd"
99 default n
Eric Andersen08f4a4c2003-02-28 07:20:55 +0000100 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000101 klogd is a utility which intercepts and logs all
Eric Andersen08f4a4c2003-02-28 07:20:55 +0000102 messages from the Linux kernel and sends the messages
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000103 out to the 'syslogd' utility so they can be logged. If
Eric Andersen08f4a4c2003-02-28 07:20:55 +0000104 you wish to record the messages produced by the kernel,
105 you should enable this option.
106
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000107config LOGGER
Eric Andersen08f4a4c2003-02-28 07:20:55 +0000108 bool "logger"
109 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000110 select FEATURE_SYSLOG
Eric Andersen08f4a4c2003-02-28 07:20:55 +0000111 help
Eric Andersen480f1532003-07-26 08:20:46 +0000112 The logger utility allows you to send arbitrary text
113 messages to the system log (i.e. the 'syslogd' utility) so
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000114 they can be logged. This is generally used to help locate
Eric Andersen480f1532003-07-26 08:20:46 +0000115 problems that occur within programs and scripts.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000116
117endmenu
118