Patchwork [CONSOLIDATED,PULL,07/33] busybox: change syslog default to log to a file

login
register
mail settings
Submitter Saul Wold
Date Jan. 19, 2012, 9:22 a.m.
Message ID <bbf44dddcc473ca085fa5b2dda5f89c22ec31cc0.1326964778.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/19699/
State New
Headers show

Comments

Saul Wold - Jan. 19, 2012, 9:22 a.m.
From: Joshua Lock <josh@linux.intel.com>

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

Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
 .../recipes-core/busybox/files/syslog-startup.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-core/busybox/files/syslog-startup.conf b/meta/recipes-core/busybox/files/syslog-startup.conf
index 83b86f2..553490b 100644
--- a/meta/recipes-core/busybox/files/syslog-startup.conf
+++ b/meta/recipes-core/busybox/files/syslog-startup.conf
@@ -1,7 +1,7 @@ 
 # This configuration file is used by the busybox syslog init script,
 # /etc/init.d/syslog[.busybox] to set syslog configuration at start time.
 
-DESTINATION=buffer		# log destinations (buffer file remote)
+DESTINATION=file		# log destinations (buffer file remote)
 LOGFILE=/var/log/messages	# where to log (file)
 REMOTE=loghost:514		# where to log (syslog remote)
 REDUCE=no			# reduce-size logging