diff options
| author | Joshua Lock <josh@linux.intel.com> | 2012-01-11 11:19:27 -0800 | 
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-19 11:34:09 +0000 | 
| commit | 35d1c6821d0ad6557203336a4440cfd8e1480c7d (patch) | |
| tree | 57eb1aa046a28e99bf4c967e8db926482eb10e01 | |
| parent | 42f0d50fa31b0045631b93962af3446d5f5e9702 (diff) | |
| download | poky-35d1c6821d0ad6557203336a4440cfd8e1480c7d.tar.gz | |
busybox: change syslog default to log to a file
This changes the default in syslog-startup.conf to log messages
to a file (/var/log/messages) because:
a) we already mount /var/log as a volatile mount by default
b) users are accustomed to looking at /var/log/messages as
most distributions don't ship with logread
(From OE-Core rev: bbf44dddcc473ca085fa5b2dda5f89c22ec31cc0)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-core/busybox/files/syslog-startup.conf | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/meta/recipes-core/busybox/files/syslog-startup.conf b/meta/recipes-core/busybox/files/syslog-startup.conf index 83b86f2293..553490bd7d 100644 --- a/meta/recipes-core/busybox/files/syslog-startup.conf +++ b/meta/recipes-core/busybox/files/syslog-startup.conf | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # This configuration file is used by the busybox syslog init script, | 1 | # This configuration file is used by the busybox syslog init script, | 
| 2 | # /etc/init.d/syslog[.busybox] to set syslog configuration at start time. | 2 | # /etc/init.d/syslog[.busybox] to set syslog configuration at start time. | 
| 3 | 3 | ||
| 4 | DESTINATION=buffer # log destinations (buffer file remote) | 4 | DESTINATION=file # log destinations (buffer file remote) | 
| 5 | LOGFILE=/var/log/messages # where to log (file) | 5 | LOGFILE=/var/log/messages # where to log (file) | 
| 6 | REMOTE=loghost:514 # where to log (syslog remote) | 6 | REMOTE=loghost:514 # where to log (syslog remote) | 
| 7 | REDUCE=no # reduce-size logging | 7 | REDUCE=no # reduce-size logging | 
