From 92c824e78d0d0b23a411e1e2e50c8602e632055c Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Wed, 29 Apr 2015 12:05:42 -0500 Subject: busybox: increase default syslog rotation settings --- recipes-core/busybox/busybox_1.22.1.bbappend | 2 ++ recipes-core/busybox/files/syslog-startup.conf | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 recipes-core/busybox/files/syslog-startup.conf diff --git a/recipes-core/busybox/busybox_1.22.1.bbappend b/recipes-core/busybox/busybox_1.22.1.bbappend index b6f475d..40094e9 100644 --- a/recipes-core/busybox/busybox_1.22.1.bbappend +++ b/recipes-core/busybox/busybox_1.22.1.bbappend @@ -1,3 +1,5 @@ +PR .= ".mlinux1" + FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:${THISDIR}/files:" SRC_URI += "file://udhcpd.conf.example" diff --git a/recipes-core/busybox/files/syslog-startup.conf b/recipes-core/busybox/files/syslog-startup.conf new file mode 100644 index 0000000..f4fb90b --- /dev/null +++ b/recipes-core/busybox/files/syslog-startup.conf @@ -0,0 +1,13 @@ +# This configuration file is used by the busybox syslog init script, +# /etc/init.d/syslog[.busybox] to set syslog configuration at start time. + +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 +DROPDUPLICATES=no # whether to drop duplicate log entries +ROTATESIZE=512 # rotate log if grown beyond X [kByte] +ROTATEGENS=4 # keep X generations of rotated logs +BUFFERSIZE=64 # size of circular buffer [kByte] +FOREGROUND=no # run in foreground (don't use!) +#LOGLEVEL=5 # local log level (between 1 and 8) -- cgit v1.2.3