From 24139e94255b11de7287325c955af25be165eae9 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 26 Apr 2007 09:10:46 +0000 Subject: busybox 1.2.1: angstrom: Make syslogd log to /var/log/messages. * With rotation and size/rotation count limit, which coupled with /var/log being a tmpfs, makes it not worse than canonical circular buffer logging, but much more friendly for people not familiar with busybox. * Closes #2135. * Approved by Koen Kooi --- packages/busybox/busybox-1.2.1/angstrom/syslog.conf | 9 +++++++++ packages/busybox/busybox_1.2.1.bb | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 packages/busybox/busybox-1.2.1/angstrom/syslog.conf (limited to 'packages/busybox') diff --git a/packages/busybox/busybox-1.2.1/angstrom/syslog.conf b/packages/busybox/busybox-1.2.1/angstrom/syslog.conf new file mode 100644 index 0000000000..047e82419e --- /dev/null +++ b/packages/busybox/busybox-1.2.1/angstrom/syslog.conf @@ -0,0 +1,9 @@ +DESTINATION="file" # log destinations (buffer file remote) +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!) diff --git a/packages/busybox/busybox_1.2.1.bb b/packages/busybox/busybox_1.2.1.bb index 34aa5daaa3..054649e9df 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 = "r12" +PR = "r13" SRC_URI += "file://wget-long-options.patch;patch=1 \ file://df_rootfs.patch;patch=1 \ -- cgit v1.2.3