[PATCH] Still more useful traces

Martin Pool martinpool at gmail.com
Tue Oct 18 07:44:52 BST 2005


On 18/10/05, David Allouche <david at allouche.net> wrote:
> Here's a new patch for trace.py.
>
> Print the repr of PWD instead of the str, which is useful to understand
> errors with fancy non-ascii directory names.

Thanks.  I changed the error formatting so that it shows the actual
error first; I think this is easier to understand.

> Set the logging level of the root logger, so setting BZR_DEBUG gives
> debugging output from non-bzr code. I found that useful to get pybaz
> debug logging while working on baz2bzr.

It looks like python logging is quite slow compared to the previous
version in bzrlib.trace - about 8-10x slower even when discarding
messages.  I was wondering if any other applications used python
logging -- I take it pybaz does?

--
Martin




More information about the bazaar mailing list