Aubin Paul wrote:
> On Sat, Sep 20, 2003 at 10:51:18AM +0200, Dirk Meyer wrote:
>> I noticed that, too. The new _debug_ function has a second paramater:
>> level. The default value is 1. Even if DEBUG is 0, all debugs with
>> level 1 are dumped to the logfile, they are only not visible on
>> stdout. Debugs with level 2 are not handled at all for DEBUG=0. I made
>> it to have logs for crashes even if DEBUG is 0.
>
> Wouldn't it make more sense for level=1 to mean DEBUG=1 and so forth
> so we can continue to have variable logging? Having level=1 meaning
> DEBUG=2 is confusing...

You see level 1 on stdout when you set DEBUG=1, level 2 for DEBUG=2
and so on. Because most people have DEBUG=0, it would be nice to have
more debug on a crash. So even for DEBUG=0, level 1 will be written to
the file. I tought it is easier to find bugs this way. 


Dischi

-- 
What happens if a big asteroid hits the Earth? Judging from realistic
simulations involving a sledge hammer and a common laboratory frog, we
can assume it will be pretty bad.
                -- Dave Barry


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to