aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/files/syslog
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/busybox/files/syslog')
-rw-r--r--meta/recipes-core/busybox/files/syslog3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/files/syslog b/meta/recipes-core/busybox/files/syslog
index 0be412bbebe..deeea8ba650 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
if [ "$REDUCE" = "yes" ]; then
SYSLOG_ARGS="$SYSLOG_ARGS -S"
fi
+ if [ -n "$LOGLEVEL" ]; then
+ SYSLOG_ARGS="$SYSLOG_ARGS -l $LOGLEVEL"
+ fi
else
# default: log to 16K shm circular buffer
SYSLOG_ARGS="-C"