[Nitro] [PATCH] Logger.debug woe

Michael Fellinger m.fellinger at gmail.com
Wed Apr 12 09:24:49 EDT 2006


Hey all,

I finally sat down, after hearing lots of complains from various
sides, and added the 'if $DBG' statement at all the Logger.debug
outputs where it was missing, except for the logger-testcase where it
might make sense, didn't have a closer look tho..
to trace the missing statements down i used:
ruby -e 'puts `egrep -r Logger.debug *`.reject{|x| x =~ /DBG/ || x =~ /_darcs/}'

maybe that's something to add to a testcase and trace down missing
statements if they occur again...

Hope it doesn't break anything, and i'm not sure if all the
Logger.debug for the kind-of-session-noticing need that too, but here
it is :)

~~~~manveru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bundle.tar.gz
Type: application/x-gzip
Size: 14643 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20060412/10fb0259/attachment.gz 


More information about the Nitro-general mailing list