From: Duncan W. <du...@fr...> - 2009-05-30 09:28:46
|
Jason Tackaberry wrote: > On Thu, 2009-05-28 at 12:58 +0200, Duncan Webb wrote: >> I guess that this a %s instead of a %r. Unprintable characters can mess >> up a xterm :-) when a log has been cat'ed. > > Right, ok, now I see what you mean. Ok, I've changed that log line to > use %r. > >>> I could be talked into a two-level debugging scheme. DEBUG right now is >>> 10, DEBUG2 could be 5. >> Would be nice, hope I don't have to talk you into it ;-) > > Nah, in fact I already committed something to kaa.base to extend the > logger. Now, after importing kaa, any logger instantiated will have a > debug2() method, that outputs at a new log level logging.DEBUG2. > > Will take some time to actually start using it. :) Great stuff. Duncan |