![]() |
logging module -> Miss messages if don't flush constantly? How set toflush constantly?
It looks like I can miss some logging messages if I don't flush after
every one....is that true? This is an issue when program crashes so that logger didn't get a chance to print everything. Is there some way to set logging to constantly flush? |
Re: logging module -> Miss messages if don't flush constantly? How set to flush constantly?
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 |
| All times are GMT. The time now is 03:04 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.