Message376190
> But when we use TCP it is expected that log messages will not be lost.
I wouldn't go that far: logging is not a primary program function (i.e. the library or application should work exactly the same if logging were to be disabled). For the situation where you absolutely don't want to lose messages (apparently not that common a case - the relevant code is over 15 years old, and I can't remember this coming up before), you could either subclass SocketHandler to buffer messages, or use e.g. a MemoryHandler in conjunction with a SocketHandler. |
|
Date |
User |
Action |
Args |
2020-09-01 13:29:57 | vinay.sajip | set | recipients:
+ vinay.sajip, serhiy.storchaka, remi.lapeyre, Oleg Nykolyn |
2020-09-01 13:29:57 | vinay.sajip | set | messageid: <1598966997.77.0.270006256658.issue40352@roundup.psfhosted.org> |
2020-09-01 13:29:57 | vinay.sajip | link | issue40352 messages |
2020-09-01 13:29:57 | vinay.sajip | create | |
|