From 52855b01f4a1bcebda517c248c94182093079a7d Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 23 Apr 2007 07:16:51 +0000 Subject: busybox: Clean up syslog.conf file. * Typo fixes. * Order options in some logical sequence. * Make clear which option applies to which logging destination. * Remove bogus comments about file log rotation being "incompatible with busybox" (works at least with 1.2.1). --- packages/busybox/busybox_1.2.1.bb | 2 +- packages/busybox/files/syslog.conf | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/busybox/busybox_1.2.1.bb b/packages/busybox/busybox_1.2.1.bb index fb26407cd6..34aa5daaa3 100644 --- a/packages/busybox/busybox_1.2.1.bb +++ b/packages/busybox/busybox_1.2.1.bb @@ -1,6 +1,6 @@ require busybox.inc -PR = "r11" +PR = "r12" SRC_URI += "file://wget-long-options.patch;patch=1 \ file://df_rootfs.patch;patch=1 \ diff --git a/packages/busybox/files/syslog.conf b/packages/busybox/files/syslog.conf index d4a0e02f5b..fc7ff8b37a 100644 --- a/packages/busybox/files/syslog.conf +++ b/packages/busybox/files/syslog.conf @@ -1,9 +1,9 @@ DESTINATION="buffer" # log destinations (buffer file remote) -MARKINT=20 # intervall between --mark-- entries -LOGFILE=/var/log/messages # where to log (file) -REMOTE=loghost:514 # where to log (syslog remote) -REDUCE=no # reduce-size logging -#ROTATESIZE=0 # rotate log if grown beyond X [kByte] (incompatible with busybox) -#ROTATEGENS=3 # keep X generations of rotated logs (incompatible with busybox) -BUFFERSIZE=64 # size of circular buffer [kByte] +MARKINT=20 # interval between --mark-- entries [min] +REDUCE=no # reduced-size logging +BUFFERSIZE=64 # buffer: size of circular buffer [kByte] +LOGFILE=/var/log/messages # file: where to log +ROTATESIZE=32 # file: rotate log if grown beyond X [kByte] (busybox 1.2+) +ROTATEGENS=1 # file: keep X generations of rotated logs (busybox 1.2+) +REMOTE=loghost:514 # remote: where to log FOREGROUND=no # run in foreground (don't use!) -- cgit v1.2.3