]> code.ossystems Code Review - openembedded-core.git/commit
busybox-syslog: add configuration file /etc/syslog.conf
authorChen Qi <Qi.Chen@windriver.com>
Tue, 3 Sep 2013 02:14:50 +0000 (10:14 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Sep 2013 11:11:26 +0000 (12:11 +0100)
commitb7f6688f0700a1575037362af7a8ca94dccce471
tree60eb570c50f50b01867b78005de563025486694d
parent66a5d15cecdf4bd267dbae5f771ebf3768232481
busybox-syslog: add configuration file /etc/syslog.conf

By default, busybox has CONFIG_FEATURE_SYSLOGD_CFG enabled, but it
doesn't ship a configuration file.

This patch adds a configuration file (/etc/syslog.conf) to the
busybox-syslog package. This configuration file mainly serves as a
placeholder now.

The advantages of this change are:
1. Make the users aware of the fact that the /etc/syslog.conf file
   will actually be parsed by busybox's syslogd utility. And configuring
   that file will change the logging behaviour.
2. In a systemd based system, this file will prevent the same configuration
   file provided by the sysklogd package from messing things up.

[YOCTO #5066]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox.inc
meta/recipes-core/busybox/busybox_1.21.1.bb
meta/recipes-core/busybox/files/syslog.conf [new file with mode: 0644]