logging module -> Miss messages if don't flush constantly? How set to flush constantly?

Peter Otten __peter__ at web.de
Sat Aug 21 14:31:13 EDT 2010


Chris Seberino wrote:

> It looks like I can miss some logging messages if I don't flush after
> every one....is that true?

As far as I can tell from the 2.6 source the StreamHandler does flush after 
each record.

Peter




More information about the Python-list mailing list