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.

classification
Title: Extension logging.handlers.SocketHandler
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: vinay.sajip Nosy List: nnorwitz, olson, vinay.sajip
Priority: normal Keywords: patch

Created on 2003-10-01 15:06 by olson, last changed 2022-04-10 16:11 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
LogClient.py olson, 2003-10-01 15:06 logging.handlers.SocketHandler subclass
Messages (4)
msg44721 - (view) Author: Robert Olson (olson) Date: 2003-10-01 15:06
I've started using the logging SocketHandler, but
don't want 
the absence of a server to affect the 
running
application.

The attached subclass of 
SocketHandler should handle the 
cases where a server cannot 
be contacted, or where
the connection is dropped. If the 
server cannot be
contacted after a drop, the connection is 
periodically
retried using a simple exponential backoff 
scheme.
msg44722 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2003-12-01 10:46
Logged In: YES 
user_id=308438

Refactored into base SocketHandler class and submitted as 
Patch #851993. Thanks to Robert Olson for the patch.
msg44723 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-12-22 04:36
Logged In: YES 
user_id=33168

Vinay, now that you're on the project you get this patch. :-)
msg44724 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2004-02-20 18:05
Logged In: YES 
user_id=308438

A version of this patch has been incorporated into the base 
SocketHandler.

The changes have been checked into CVS.

Thank you for the patch.
History
Date User Action Args
2022-04-10 16:11:32adminsetgithub: 39346
2003-10-01 15:06:51olsoncreate