[oe-commits] org.oe.dev busybox 1.2.1: angstrom: Make syslogd log to /var/log/messages.

pfalcon commit openembedded-commits at lists.openembedded.org
Thu Apr 26 09:23:20 UTC 2007


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

Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: 558f128d4627bb3e20bb42388a205dc5c37c3f70
ViewMTN: http://monotone.openembedded.org/revision.psp?id=558f128d4627bb3e20bb42388a205dc5c37c3f70
Files:
1
packages/busybox/busybox-1.2.1/angstrom/syslog.conf
packages/busybox/busybox_1.2.1.bb
Diffs:

#
# mt diff -rfdb3a990f25607c7b10b3ace56859b837e3e6a99 -r558f128d4627bb3e20bb42388a205dc5c37c3f70
#
# 
# 
# add_file "packages/busybox/busybox-1.2.1/angstrom/syslog.conf"
#  content [96581f5fbde2e5e5109328e8b42d14d53a5c2119]
# 
# patch "packages/busybox/busybox_1.2.1.bb"
#  from [5db3b7ae28983e34cefd69779d2b1f574e325c28]
#    to [bbd3e1d71e9143dcc0ad5cc7b1df2f1fce1d040e]
# 
============================================================
--- packages/busybox/busybox-1.2.1/angstrom/syslog.conf	96581f5fbde2e5e5109328e8b42d14d53a5c2119
+++ packages/busybox/busybox-1.2.1/angstrom/syslog.conf	96581f5fbde2e5e5109328e8b42d14d53a5c2119
@@ -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!)
============================================================
--- packages/busybox/busybox_1.2.1.bb	5db3b7ae28983e34cefd69779d2b1f574e325c28
+++ packages/busybox/busybox_1.2.1.bb	bbd3e1d71e9143dcc0ad5cc7b1df2f1fce1d040e
@@ -1,6 +1,6 @@ require busybox.inc
 require busybox.inc
 
-PR = "r12"
+PR = "r13"
 
 SRC_URI += "file://wget-long-options.patch;patch=1 \
 	   file://df_rootfs.patch;patch=1 \






More information about the Openembedded-commits mailing list