Should mutter() flush the log file?
John Arbash Meinel
john at arbash-meinel.com
Fri Jan 6 02:34:23 GMT 2006
Martin Pool wrote:
> On Tue, 2005-12-27 at 16:36 -0600, John A Meinel wrote:
>
>>I was starting to write a test which
>>
>
>
> ??
>
> I don't think mutter has to manually flush, the log file should be
> line-buffered. Does it even need to be that? It can be useful if
> you're watching it while bzr runs.
>
I don't think it really matters. But since I was testing that mutter()
actually did write something, I needed it to flush before I read what it
had written.
I was just wondering since you might be trying to track down a bug using
mutter(), and python is crashing before it flushes the buffer.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060105/fc918389/attachment.pgp
More information about the bazaar
mailing list