ts-7000
[Top] [All Lists]

[ts-7000] Re: C error logging in embedded controller

To:
Subject: [ts-7000] Re: C error logging in embedded controller
From: "Achim" <>
Date: Tue, 29 Dec 2009 14:20:39 -0000
> You can redirect that output to some log file:
> 
> /usr/bin/application > /var/log/application.log 2>&1
Buuuh, of course, but this is a hell a lot of data. So when having trace or 
info messages within the application, I usually don't need them.
So I should be able to switch them off to prevent waste of data stored

Furtheron, these logfiles are permanently growing - this is not good for 
embedded processes ;-)


> 
> > - Saving Fatal, Errors, Warnings, Infos and Traces into a file or SQL
> > database - automatically remove old data from that file/database, like in
> > round-robin datasets - beside the message, also save a timestamp and the
> > function name - allow to search and browse within the saved log, including
> > filtering - allow a "live view" to show what happens now, like printf do -
> > configuration of saved level (e.g. only fatal and error, no warning or no
> > trace) based on file or function name - reduce saved/showed messages by
> > bundling these one which appears very often together in one message.
> 
> I would use SQLite, you can do almost all that using standard SQL statements.

OK, that is in general a good hint, but I need to code a lot on top - which I 
want to prevent.


> 
> > I already found nagius and cacti, but it looks as they only offer viewing
> > capabilities and not address logging.
> 
> Those are overkill for embedded systems.
Meanwhile I realized this as well.

Now Im looking more in detail to Log4c and the good old syslog, it is even more 
powerful as I expected...

Thanks
  Achim



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU