Aubin Paul wrote:
> Hi guys,
>
> Since Dischi changed some of the 'if DEBUG:' calls to _debug_ I've
> been seeing pretty verbose logging, most of which serves little
> purpose.

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.

> For example, in rom_drives, we print the status of the rom drive
> almost every SECOND, I've got 3.5mb of:
>
> MEDIA: Status=4

I changed that to level 2 yesterday. You don't see it anymore. Feel
free to remove old unneeded debug or change the level to 2 or higher. 


Dischi

-- 
The sum of society's intelligence is less than the average of it's
individual parts.


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