Root/package/busybox/config/sysklogd/Config.in

1# DO NOT EDIT. This file is generated from Config.src
2#
3# For a description of the syntax of this configuration file,
4# see scripts/kbuild/config-language.txt.
5#
6
7menu "System Logging Utilities"
8
9
10
11config BUSYBOX_CONFIG_SYSLOGD
12    bool "syslogd"
13    default y
14    help
15      The syslogd utility is used to record logs of all the
16      significant events that occur on a system. Every
17      message that is logged records the date and time of the
18      event, and will generally also record the name of the
19      application that generated the message. When used in
20      conjunction with klogd, messages from the Linux kernel
21      can also be recorded. This is terribly useful,
22      especially for finding what happened when something goes
23      wrong. And something almost always will go wrong if
24      you wait long enough....
25
26config BUSYBOX_CONFIG_FEATURE_ROTATE_LOGFILE
27    bool "Rotate message files"
28    default y
29    depends on BUSYBOX_CONFIG_SYSLOGD
30    help
31      This enables syslogd to rotate the message files
32      on his own. No need to use an external rotatescript.
33
34config BUSYBOX_CONFIG_FEATURE_REMOTE_LOG
35    bool "Remote Log support"
36    default y
37    depends on BUSYBOX_CONFIG_SYSLOGD
38    help
39      When you enable this feature, the syslogd utility can
40      be used to send system log messages to another system
41      connected via a network. This allows the remote
42      machine to log all the system messages, which can be
43      terribly useful for reducing the number of serial
44      cables you use. It can also be a very good security
45      measure to prevent system logs from being tampered with
46      by an intruder.
47
48config BUSYBOX_CONFIG_FEATURE_SYSLOGD_DUP
49    bool "Support -D (drop dups) option"
50    default n
51    depends on BUSYBOX_CONFIG_SYSLOGD
52    help
53      Option -D instructs syslogd to drop consecutive messages
54      which are totally the same.
55
56config BUSYBOX_CONFIG_FEATURE_SYSLOGD_CFG
57    bool "Support syslog.conf"
58    default n
59    depends on BUSYBOX_CONFIG_SYSLOGD
60    help
61      Supports restricted syslogd config. See docs/syslog.conf.txt
62
63config BUSYBOX_CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE
64    int "Read buffer size in bytes"
65    default 256
66    range 256 20000
67    depends on BUSYBOX_CONFIG_SYSLOGD
68    help
69      This option sets the size of the syslog read buffer.
70      Actual memory usage increases around five times the
71      change done here.
72
73config BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG
74    bool "Circular Buffer support"
75    default y
76    depends on BUSYBOX_CONFIG_SYSLOGD
77    help
78      When you enable this feature, the syslogd utility will
79      use a circular buffer to record system log messages.
80      When the buffer is filled it will continue to overwrite
81      the oldest messages. This can be very useful for
82      systems with little or no permanent storage, since
83      otherwise system logs can eventually fill up your
84      entire filesystem, which may cause your system to
85      break badly.
86
87config BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE
88    int "Circular buffer size in Kbytes (minimum 4KB)"
89    default 16
90    range 4 2147483647
91    depends on BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG
92    help
93      This option sets the size of the circular buffer
94      used to record system log messages.
95
96config BUSYBOX_CONFIG_LOGREAD
97    bool "logread"
98    default y
99    depends on BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG
100    help
101      If you enabled Circular Buffer support, you almost
102      certainly want to enable this feature as well. This
103      utility will allow you to read the messages that are
104      stored in the syslogd circular buffer.
105
106config BUSYBOX_CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING
107    bool "Double buffering"
108    default n
109    depends on BUSYBOX_CONFIG_LOGREAD
110    help
111      'logread' ouput to slow serial terminals can have
112      side effects on syslog because of the semaphore.
113      This option make logread to double buffer copy
114      from circular buffer, minimizing semaphore
115      contention at some minor memory expense.
116
117config BUSYBOX_CONFIG_KLOGD
118    bool "klogd"
119    default y
120    help
121      klogd is a utility which intercepts and logs all
122      messages from the Linux kernel and sends the messages
123      out to the 'syslogd' utility so they can be logged. If
124      you wish to record the messages produced by the kernel,
125      you should enable this option.
126
127config BUSYBOX_CONFIG_FEATURE_KLOGD_KLOGCTL
128    bool "Use the klogctl() interface"
129    default y
130    depends on BUSYBOX_CONFIG_KLOGD
131    select BUSYBOX_CONFIG_PLATFORM_LINUX
132    help
133      The klogd applet supports two interfaces for reading
134      kernel messages. Linux provides the klogctl() interface
135      which allows reading messages from the kernel ring buffer
136      independently from the file system.
137
138      If you answer 'N' here, klogd will use the more portable
139      approach of reading them from /proc or a device node.
140      However, this method requires the file to be available.
141
142      If in doubt, say 'Y'.
143
144config BUSYBOX_CONFIG_LOGGER
145    bool "logger"
146    default y
147    select BUSYBOX_CONFIG_FEATURE_SYSLOG
148    help
149        The logger utility allows you to send arbitrary text
150        messages to the system log (i.e. the 'syslogd' utility) so
151        they can be logged. This is generally used to help locate
152        problems that occur within programs and scripts.
153
154endmenu
155

Archive Download this file



interactive