summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2015-04-29 12:05:42 -0500
committerJesse Gilles <jgilles@multitech.com>2015-04-29 12:05:42 -0500
commit92c824e78d0d0b23a411e1e2e50c8602e632055c (patch)
treeef0fd5158127368b882e3f1e411eadd87d7016d3
parent23cf35ee228ba97d367c1af523aa7fa8370dd22e (diff)
downloadmeta-mlinux-92c824e78d0d0b23a411e1e2e50c8602e632055c.tar.gz
meta-mlinux-92c824e78d0d0b23a411e1e2e50c8602e632055c.tar.bz2
meta-mlinux-92c824e78d0d0b23a411e1e2e50c8602e632055c.zip
busybox: increase default syslog rotation settings
-rw-r--r--recipes-core/busybox/busybox_1.22.1.bbappend2
-rw-r--r--recipes-core/busybox/files/syslog-startup.conf13
2 files changed, 15 insertions, 0 deletions
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)