➜

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.

作者 vinay.sajip
收信人 Oleg Nykolyn, remi.lapeyre, serhiy.storchaka, vinay.sajip
日期 2020-09-01.13:29:57
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1598966997.77.0.270006256658.issue40352@roundup.psfhosted.org>
In-reply-to
内容
> 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.
历史
日期 用户 动作 参数
2020-09-01 13:29:57vinay.sajip修改recipients: + vinay.sajip, serhiy.storchaka, remi.lapeyre, Oleg Nykolyn
2020-09-01 13:29:57vinay.sajip修改messageid: <1598966997.77.0.270006256658.issue40352@roundup.psfhosted.org>
2020-09-01 13:29:57vinay.sajip链接issue40352 messages
2020-09-01 13:29:57vinay.sajip创建