> 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/
|