Message20084
logging.Handler().close() does not call flush(). Some
derived handlers override this and call flush themselves;
some do not. I'm not certain which streams are buffered
under the hood, but I think it would be fine to call flush in
all cases. In particular, I think BufferingHandler should
always flush, and FileHandler probably should too.
Note that just adding it to Handler().close() would not
work with the current CVS version, as the derived class
may call the parent close (to clean up _handlers) after
closing (and making unflushable) the stream.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:20:08 | admin | link | issue901330 messages |
2007-08-23 14:20:08 | admin | create | |
|