On Saturday 06 August 2005 22:53, Stefan Seyfried wrote:
> Danny Kukawka wrote:
> > I wondered also. I would prefer also to know the file. Something like
> > this:
> >
> > syslog(LOG_ERR, "[E] %s:%d: %s", string, __FILE__, __LINE__,
> > __FUNCTION__, ## args)
>
> but this makes the lines even longer, not shorter :-)
> We could put something like this in a configure --enable-verbose-debug,
> so we can use it in a experimental build but disable in official releases.

Yes, I know, this makes the lines a littlebit longer, but also more 
informatively. I would replace WARNING, ...,ERROR with [W], ..., [E] and 
remove the '()' anyway. But maybe also the messages self are to long?! 

We could maybe add a new debug level for this, but a configure option is also 
o.k. for me.

Cheers, 

Danny
_______________________________________________
powersave-devel mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/powersave-devel

Reply via email to