Should mutter() flush the log file?

John A Meinel john at arbash-meinel.com
Tue Dec 27 22:53:21 GMT 2005


John A Meinel wrote:
> I was working on rewriting mutter() so that it never fails.

...


> Any comments?
> 
> To be clear, I'm currently planning to update my test so that it does
> its own flush, and then changing mutter() so that it flushes if
> BZR_DEBUG is set.

Well, in looking deeper, I found a catch. BZR_DEBUG is no longer used in
the codebase. I assume it happened when Martin re-implemented mutter()
because the default logging.debug() was too expensive.

Since BZR_DEBUG was taken out of the picture, I don't really feel like
bringing it back. But I don't want to always flush() either.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051227/f97024db/attachment.pgp 


More information about the bazaar mailing list