summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/busybox/files')
-rw-r--r--meta/recipes-core/busybox/files/syslog3
-rw-r--r--meta/recipes-core/busybox/files/syslog-startup.conf1
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/files/syslog b/meta/recipes-core/busybox/files/syslog
index deeea8ba65..2944d3d06c 100644
--- a/meta/recipes-core/busybox/files/syslog
+++ b/meta/recipes-core/busybox/files/syslog
@@ -40,6 +40,9 @@ if [ -f /etc/syslog-startup.conf ]; then
40 if [ "$REDUCE" = "yes" ]; then 40 if [ "$REDUCE" = "yes" ]; then
41 SYSLOG_ARGS="$SYSLOG_ARGS -S" 41 SYSLOG_ARGS="$SYSLOG_ARGS -S"
42 fi 42 fi
43 if [ "$DROPDUPLICATES" = "yes" ]; then
44 SYSLOG_ARGS="$SYSLOG_ARGS -D"
45 fi
43 if [ -n "$LOGLEVEL" ]; then 46 if [ -n "$LOGLEVEL" ]; then
44 SYSLOG_ARGS="$SYSLOG_ARGS -l $LOGLEVEL" 47 SYSLOG_ARGS="$SYSLOG_ARGS -l $LOGLEVEL"
45 fi 48 fi
diff --git a/meta/recipes-core/busybox/files/syslog-startup.conf b/meta/recipes-core/busybox/files/syslog-startup.conf
index 553490bd7d..fda450aa0d 100644
--- a/meta/recipes-core/busybox/files/syslog-startup.conf
+++ b/meta/recipes-core/busybox/files/syslog-startup.conf
@@ -5,6 +5,7 @@ DESTINATION=file # log destinations (buffer file remote)
5LOGFILE=/var/log/messages # where to log (file) 5LOGFILE=/var/log/messages # where to log (file)
6REMOTE=loghost:514 # where to log (syslog remote) 6REMOTE=loghost:514 # where to log (syslog remote)
7REDUCE=no # reduce-size logging 7REDUCE=no # reduce-size logging
8DROPDUPLICATES=no # whether to drop duplicate log entries
8#ROTATESIZE=0 # rotate log if grown beyond X [kByte] 9#ROTATESIZE=0 # rotate log if grown beyond X [kByte]
9#ROTATEGENS=3 # keep X generations of rotated logs 10#ROTATEGENS=3 # keep X generations of rotated logs
10BUFFERSIZE=64 # size of circular buffer [kByte] 11BUFFERSIZE=64 # size of circular buffer [kByte]