This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients Oleg Nykolyn, remi.lapeyre, serhiy.storchaka, vinay.sajip
Date 2020-09-01.13:29:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1598966997.77.0.270006256658.issue40352@roundup.psfhosted.org>
In-reply-to
Content
> 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.
History
Date User Action Args
2020-09-01 13:29:57vinay.sajipsetrecipients: + vinay.sajip, serhiy.storchaka, remi.lapeyre, Oleg Nykolyn
2020-09-01 13:29:57vinay.sajipsetmessageid: <1598966997.77.0.270006256658.issue40352@roundup.psfhosted.org>
2020-09-01 13:29:57vinay.sajiplinkissue40352 messages
2020-09-01 13:29:57vinay.sajipcreate