diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-07 06:02:39 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-07 06:02:39 +0000 |
commit | 049d6b8c0812b20c024d714a9008cc94713a6175 (patch) | |
tree | af95f506cc36561eef6204a1bd915bc0467cdc24 /sysklogd | |
parent | b7d8dd9ab18c5001b5a86127c94a07e3ee0125c7 (diff) | |
download | busybox-w32-049d6b8c0812b20c024d714a9008cc94713a6175.tar.gz busybox-w32-049d6b8c0812b20c024d714a9008cc94713a6175.tar.bz2 busybox-w32-049d6b8c0812b20c024d714a9008cc94713a6175.zip |
Add CONFIG_FEATURE_SYSLOG which controls whether
bb_xx_msg will ever try to send output to syslog.
Add "select CONFIG_FEATURE_SYSLOG" to relevant applets.
This allows to omit syslog code if we do not have
any syslog-capable applets in the build.
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/Config.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysklogd/Config.in b/sysklogd/Config.in index 05983b68d..399315208 100644 --- a/sysklogd/Config.in +++ b/sysklogd/Config.in | |||
@@ -89,6 +89,7 @@ config CONFIG_KLOGD | |||
89 | bool "klogd" | 89 | bool "klogd" |
90 | default n | 90 | default n |
91 | depends on CONFIG_SYSLOGD | 91 | depends on CONFIG_SYSLOGD |
92 | select CONFIG_FEATURE_SYSLOG | ||
92 | help | 93 | help |
93 | klogd is a utility which intercepts and logs all | 94 | klogd is a utility which intercepts and logs all |
94 | messages from the Linux kernel and sends the messages | 95 | messages from the Linux kernel and sends the messages |
@@ -99,6 +100,7 @@ config CONFIG_KLOGD | |||
99 | config CONFIG_LOGGER | 100 | config CONFIG_LOGGER |
100 | bool "logger" | 101 | bool "logger" |
101 | default n | 102 | default n |
103 | select CONFIG_FEATURE_SYSLOG | ||
102 | help | 104 | help |
103 | The logger utility allows you to send arbitrary text | 105 | The logger utility allows you to send arbitrary text |
104 | messages to the system log (i.e. the 'syslogd' utility) so | 106 | messages to the system log (i.e. the 'syslogd' utility) so |