[Openais] [patch] improved logging and tracing support

Steven Dake sdake at redhat.com
Thu Apr 13 00:26:46 PDT 2006

On Thu, 2006-04-13 at 09:19 +0200, Hans Feldt wrote:
> Steven Dake wrote:
> > On Tue, 2006-04-11 at 14:50 +0200, Hans Feldt wrote:
> > 
> >>Hans Feldt wrote:
> >>I would like to remove the timestamp option completely, timestamps 
> >>should always be used anyway?
> >>
> > 
> > 
> > The gettimeofday system call and associated formatting is somewhat
> > expensive and hence I believe should be configurable by the user for all
> > debugging output.
> But in a real world diskless embedded system, I think you don't have 
> stderr & file. Therefore I guess all logging should be done to syslog 
> and then you have time and formatting anyway?

You make a sound argument for NEP targets, but we would all benefit from
making openais as useful to as large a base of users as possible (which
also means the general enterprise).  Some of these people may have disks
and dislike syslog for some reason (doesn't it drop messages in
overload?) or doing development on their development machine and want
stderr/file logging.


> Regards,
> Hans

More information about the Openais mailing list