syslogd: optional support for /etc/syslog.conf

function                                             old     new   delta
syslogd_main                                        1241    1870    +629
timestamp_and_log                                    301     540    +239
find_by_name                                           -      37     +37
find_by_val                                            -      22     +22
init_data                                             64      68      +4
log_locally                                          603     413    -190
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 3/1 up/down: 931/-190)          Total: 741 bytes

Signed-off-by: Sergey Naumov <sknaumov@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Sergey Naumov
2011-04-10 07:34:27 +02:00
committed by Denys Vlasenko
parent d277f55ebd
commit 73ef15cf38
2 changed files with 275 additions and 65 deletions

View File

@@ -52,6 +52,13 @@ config FEATURE_SYSLOGD_DUP
Option -D instructs syslogd to drop consecutive messages
which are totally the same.
config FEATURE_SYSLOGD_CFG
bool "Support syslog.conf"
default y
depends on SYSLOGD
help
Supports restricted syslogd config.
config FEATURE_SYSLOGD_READ_BUFFER_SIZE
int "Read buffer size in bytes"
default 256