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: Tue, 12 Jul 2005 09:41:55
Message-Id: 1121161265.15192.75.camel@neuromancer.home.net
In Reply to: Re: [gentoo-embedded] Is a Logger needed for an embedded sys? by Natanael Copa
1 On Tue, 2005-07-12 at 11:17 +0200, Natanael Copa wrote:
2 > Ow Mun Heng wrote:
3 >
4 > >Just wondering if anyone here has any pro/cons in using a system logger
5 > >such as metalog or syslog/ng on an embedded system.
6 > >
7 > >
8 >
9 > Something goes wrong, and you ask: what happened?
10 > Something goes right and you ask: What happened?
11 >
12 > The logs tell you.
13
14 Yep.. That's the obvious One I was talking about.
15
16 > Syslog has also a remote function. You can send the logs to a remote server.
17
18 Didn't think of that capability of syslog. This would be good. 1 central
19 mysql loghost.
20
21 > Some paranoid people send the logs to a line printer. (impossible to
22 > erase remotely)
23
24 Interestingly Paranoid. I like it!! :-)
25
26 > >
27 >
28 > Busybox has an integrated syslog. Its small and normally good enough
29 > (you don't need to install metalog)
30
31 Didn't know busybox has an integrated logger.(Even though it's stated
32 in /etc/inittab DUH!) Guess it's really minimal since it doesn't even
33 use syslog.conf.
34
35 I guess it need the -R flag to send the logs to a remote host.
36 -R HOST[:PORT] Log to IP or hostname on PORT (default PORT=514/UDP)
37
38 >
39 > Somekind of logratating make you save space. I dont know if that goes
40 > automatically in busybox or if you need to ron logrotate from a cronjob.
41
42 Well, with the point of embedded being saving on writes, don't think
43 saving space is the main issue. But Thanks for all your insights
44
45 --
46 Ow Mun Heng
47 Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
48 98% Microsoft(tm) Free!!
49 Neuromancer 17:27:49 up 5 days, 1:24, 8 users, load average: 2.79, 1.18,
50 1.07
51
52
53 --
54 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] Is a Logger needed for an embedded sys? Lee Azzarello <lee.azzarello@×××××××××.com>
Re: [gentoo-embedded] Is a Logger needed for an embedded sys? Matthew Cline <matthew.cline@×××××.com>