aboutsummaryrefslogtreecommitdiffstats
path: root/packages/busybox
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-04-26 09:10:46 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-04-26 09:10:46 +0000
commit24139e94255b11de7287325c955af25be165eae9 (patch)
tree62430f70046b3d221b79794d511b22326f38adf9 /packages/busybox
parent30dbe7baba9a0101801b4db9101dbc69d5cb48e1 (diff)
downloadopenembedded-24139e94255b11de7287325c955af25be165eae9.tar.gz
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
Diffstat (limited to 'packages/busybox')
-rw-r--r--packages/busybox/busybox-1.2.1/angstrom/syslog.conf9
-rw-r--r--packages/busybox/busybox_1.2.1.bb2
2 files changed, 10 insertions, 1 deletions
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 \