[821] | 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 |
|
---|
[1770] | 8 | config SYSLOGD
|
---|
[821] | 9 | bool "syslogd"
|
---|
| 10 | default n
|
---|
| 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 |
|
---|
[1770] | 23 | config FEATURE_ROTATE_LOGFILE
|
---|
[821] | 24 | bool "Rotate message files"
|
---|
| 25 | default n
|
---|
[1770] | 26 | depends on SYSLOGD
|
---|
[821] | 27 | help
|
---|
| 28 | This enables syslogd to rotate the message files
|
---|
| 29 | on his own. No need to use an external rotatescript.
|
---|
| 30 |
|
---|
[1770] | 31 | config FEATURE_REMOTE_LOG
|
---|
[821] | 32 | bool "Remote Log support"
|
---|
| 33 | default n
|
---|
[1770] | 34 | depends on SYSLOGD
|
---|
[821] | 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 |
|
---|
[1770] | 45 | config FEATURE_IPC_SYSLOG
|
---|
[821] | 46 | bool "Circular Buffer support"
|
---|
| 47 | default n
|
---|
[1770] | 48 | depends on SYSLOGD
|
---|
[821] | 49 | help
|
---|
| 50 | 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
|
---|
| 53 | the oldest messages. This can be very useful for
|
---|
| 54 | systems with little or no permanent storage, since
|
---|
| 55 | otherwise system logs can eventually fill up your
|
---|
| 56 | entire filesystem, which may cause your system to
|
---|
| 57 | break badly.
|
---|
| 58 |
|
---|
[1770] | 59 | config FEATURE_IPC_SYSLOG_BUFFER_SIZE
|
---|
[821] | 60 | int " Circular buffer size in Kbytes (minimum 4KB)"
|
---|
| 61 | default 16
|
---|
[1770] | 62 | range 4 2147483647
|
---|
| 63 | depends on FEATURE_IPC_SYSLOG
|
---|
[821] | 64 | help
|
---|
| 65 | This option sets the size of the circular buffer
|
---|
| 66 | used to record system log messages.
|
---|
| 67 |
|
---|
[1770] | 68 | config LOGREAD
|
---|
[821] | 69 | bool "logread"
|
---|
| 70 | default y
|
---|
[1770] | 71 | depends on FEATURE_IPC_SYSLOG
|
---|
[821] | 72 | help
|
---|
| 73 | If you enabled Circular Buffer support, you almost
|
---|
| 74 | certainly want to enable this feature as well. This
|
---|
| 75 | utility will allow you to read the messages that are
|
---|
| 76 | stored in the syslogd circular buffer.
|
---|
| 77 |
|
---|
[1770] | 78 | config FEATURE_LOGREAD_REDUCED_LOCKING
|
---|
[821] | 79 | bool "logread double buffering"
|
---|
| 80 | default n
|
---|
[1770] | 81 | depends on LOGREAD
|
---|
[821] | 82 | help
|
---|
| 83 | 'logread' ouput to slow serial terminals can have
|
---|
| 84 | side effects on syslog because of the semaphore.
|
---|
| 85 | This option make logread to double buffer copy
|
---|
| 86 | from circular buffer, minimizing semaphore
|
---|
| 87 | contention at some minor memory expense.
|
---|
| 88 |
|
---|
[1770] | 89 | config KLOGD
|
---|
[821] | 90 | bool "klogd"
|
---|
| 91 | default n
|
---|
| 92 | help
|
---|
| 93 | klogd is a utility which intercepts and logs all
|
---|
| 94 | 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 |
|
---|
[1770] | 99 | config LOGGER
|
---|
[821] | 100 | bool "logger"
|
---|
| 101 | default n
|
---|
[1770] | 102 | select FEATURE_SYSLOG
|
---|
[821] | 103 | help
|
---|
| 104 | The logger utility allows you to send arbitrary text
|
---|
| 105 | messages to the system log (i.e. the 'syslogd' utility) so
|
---|
| 106 | they can be logged. This is generally used to help locate
|
---|
| 107 | problems that occur within programs and scripts.
|
---|
| 108 |
|
---|
| 109 | endmenu
|
---|
| 110 |
|
---|