Gentoo Archives: gentoo-embedded

From: Ow Mun Heng <Ow.Mun.Heng@×××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Is a Logger needed for an embedded sys?
Date: Wed, 13 Jul 2005 02:50:30
Message-Id: 1121222981.15192.121.camel@neuromancer.home.net
In Reply to: Re: [gentoo-embedded] Is a Logger needed for an embedded sys? by Lee Azzarello
1 On Tue, 2005-07-12 at 09:36 -0400, Lee Azzarello wrote:
2 > On Tue, 2005-07-12 at 17:41 +0800, Ow Mun Heng wrote:
3 > > On Tue, 2005-07-12 at 11:17 +0200, Natanael Copa wrote:
4 > > > Ow Mun Heng wrote:
5 > > >
6 > > > Somekind of logratating make you save space. I dont know if that goes
7 > > > automatically in busybox or if you need to ron logrotate from a cronjob.
8 > >
9 > > Well, with the point of embedded being saving on writes, don't think
10 > > saving space is the main issue. But Thanks for all your insights
11 >
12 > Many network appliances log a little to RAM with a circular utility,
13 > overwriting the oldest logs when the allocated memory is used up, along
14 > with the option to send everything to a remote syslog server. My network
15 > appliance of choice, m0n0wall, uses the FreeBSD syslogd with circular
16 > logging (clog).
17 > http://m0n0.ch/wall/software.php
18 >
19 > Is there a circular logging utility in Portage? Is the clog patch to
20 > syslogd trivial to apply? I'd be curious if anyone on this list has some
21 > stories with circular logging.
22
23 Dunno... but busybox's syslogd has it.
24
25 -C [size(KiB)] Log to a circular buffer (read the buffer using logread)
26
27 --
28 Ow Mun Heng
29 Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
30 98% Microsoft(tm) Free!!
31 Neuromancer 10:48:49 up 5 days, 18:45, 8 users, load average: 0.89,
32 0.60, 0.58
33
34
35 --
36 gentoo-embedded@g.o mailing list