Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 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 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 8 | config SYSLOGD |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 9 | bool "syslogd" |
| 10 | default n |
| 11 | help |
Eric Andersen | 08f4a4c | 2003-02-28 07:20:55 +0000 | [diff] [blame] | 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, |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 19 | especially for finding what happened when something goes |
Eric Andersen | 08f4a4c | 2003-02-28 07:20:55 +0000 | [diff] [blame] | 20 | wrong. And something almost always will go wrong if |
| 21 | you wait long enough.... |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 22 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 23 | config FEATURE_ROTATE_LOGFILE |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 24 | bool "Rotate message files" |
Eric Andersen | 29c77f7 | 2003-10-09 09:43:18 +0000 | [diff] [blame] | 25 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 26 | depends on SYSLOGD |
Eric Andersen | 29c77f7 | 2003-10-09 09:43:18 +0000 | [diff] [blame] | 27 | help |
| 28 | This enables syslogd to rotate the message files |
| 29 | on his own. No need to use an external rotatescript. |
| 30 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 31 | config FEATURE_REMOTE_LOG |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 32 | bool "Remote Log support" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 33 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 34 | depends on SYSLOGD |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 35 | help |
Eric Andersen | 08f4a4c | 2003-02-28 07:20:55 +0000 | [diff] [blame] | 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. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 44 | |
Denis Vlasenko | be048f2 | 2008-02-26 20:13:52 +0000 | [diff] [blame] | 45 | config 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 Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 53 | config FEATURE_IPC_SYSLOG |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 54 | bool "Circular Buffer support" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 55 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 56 | depends on SYSLOGD |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 57 | help |
Eric Andersen | 08f4a4c | 2003-02-28 07:20:55 +0000 | [diff] [blame] | 58 | 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 |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 61 | the oldest messages. This can be very useful for |
| 62 | systems with little or no permanent storage, since |
Eric Andersen | 08f4a4c | 2003-02-28 07:20:55 +0000 | [diff] [blame] | 63 | otherwise system logs can eventually fill up your |
| 64 | entire filesystem, which may cause your system to |
| 65 | break badly. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 66 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 67 | config FEATURE_IPC_SYSLOG_BUFFER_SIZE |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 68 | int "Circular buffer size in Kbytes (minimum 4KB)" |
Eric Andersen | d4a5e25 | 2003-12-19 11:32:14 +0000 | [diff] [blame] | 69 | default 16 |
Bernhard Reutner-Fischer | bb4b9f1 | 2007-06-07 13:22:56 +0000 | [diff] [blame] | 70 | range 4 2147483647 |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 71 | depends on FEATURE_IPC_SYSLOG |
Eric Andersen | d4a5e25 | 2003-12-19 11:32:14 +0000 | [diff] [blame] | 72 | help |
| 73 | This option sets the size of the circular buffer |
| 74 | used to record system log messages. |
| 75 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 76 | config LOGREAD |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 77 | bool "logread" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 78 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 79 | depends on FEATURE_IPC_SYSLOG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 80 | help |
Eric Andersen | 08f4a4c | 2003-02-28 07:20:55 +0000 | [diff] [blame] | 81 | If you enabled Circular Buffer support, you almost |
| 82 | certainly want to enable this feature as well. This |
| 83 | utility will allow you to read the messages that are |
| 84 | stored in the syslogd circular buffer. |
| 85 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 86 | config FEATURE_LOGREAD_REDUCED_LOCKING |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 87 | bool "Double buffering" |
Eric Andersen | d4a5e25 | 2003-12-19 11:32:14 +0000 | [diff] [blame] | 88 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 89 | depends on LOGREAD |
Eric Andersen | d4a5e25 | 2003-12-19 11:32:14 +0000 | [diff] [blame] | 90 | help |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 91 | 'logread' ouput to slow serial terminals can have |
Eric Andersen | d4a5e25 | 2003-12-19 11:32:14 +0000 | [diff] [blame] | 92 | side effects on syslog because of the semaphore. |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 93 | This option make logread to double buffer copy |
| 94 | from circular buffer, minimizing semaphore |
Eric Andersen | d4a5e25 | 2003-12-19 11:32:14 +0000 | [diff] [blame] | 95 | contention at some minor memory expense. |
| 96 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 97 | config KLOGD |
Eric Andersen | 08f4a4c | 2003-02-28 07:20:55 +0000 | [diff] [blame] | 98 | bool "klogd" |
| 99 | default n |
Eric Andersen | 08f4a4c | 2003-02-28 07:20:55 +0000 | [diff] [blame] | 100 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 101 | klogd is a utility which intercepts and logs all |
Eric Andersen | 08f4a4c | 2003-02-28 07:20:55 +0000 | [diff] [blame] | 102 | messages from the Linux kernel and sends the messages |
| 103 | out to the 'syslogd' utility so they can be logged. If |
| 104 | you wish to record the messages produced by the kernel, |
| 105 | you should enable this option. |
| 106 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 107 | config LOGGER |
Eric Andersen | 08f4a4c | 2003-02-28 07:20:55 +0000 | [diff] [blame] | 108 | bool "logger" |
| 109 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 110 | select FEATURE_SYSLOG |
Eric Andersen | 08f4a4c | 2003-02-28 07:20:55 +0000 | [diff] [blame] | 111 | help |
Eric Andersen | 480f153 | 2003-07-26 08:20:46 +0000 | [diff] [blame] | 112 | The logger utility allows you to send arbitrary text |
| 113 | messages to the system log (i.e. the 'syslogd' utility) so |
| 114 | they can be logged. This is generally used to help locate |
| 115 | problems that occur within programs and scripts. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 116 | |
| 117 | endmenu |
| 118 | |