Commit 326441e7 authored by Vinay Sajip's avatar Vinay Sajip

Copyright year change.

Corrections to comments.
Added RESET_ERROR definition.
parent 781380c1
...@@ -19,9 +19,9 @@ Logging package for Python. Based on PEP 282 and comments thereto in ...@@ -19,9 +19,9 @@ Logging package for Python. Based on PEP 282 and comments thereto in
comp.lang.python, and influenced by Apache's log4j system. comp.lang.python, and influenced by Apache's log4j system.
Should work under Python versions >= 1.5.2, except that source line Should work under Python versions >= 1.5.2, except that source line
information is not available unless 'inspect' is. information is not available unless 'sys._getframe()' is.
Copyright (C) 2001-2002 Vinay Sajip. All Rights Reserved. Copyright (C) 2001-2004 Vinay Sajip. All Rights Reserved.
To use, simply 'import logging' and log away! To use, simply 'import logging' and log away!
""" """
...@@ -33,6 +33,11 @@ from SocketServer import ThreadingTCPServer, StreamRequestHandler ...@@ -33,6 +33,11 @@ from SocketServer import ThreadingTCPServer, StreamRequestHandler
DEFAULT_LOGGING_CONFIG_PORT = 9030 DEFAULT_LOGGING_CONFIG_PORT = 9030
if sys.platform == "win32":
RESET_ERROR = 10054 #WSAECONNRESET
else:
RESET_ERROR = 104 #ECONNRESET
# #
# The following code implements a socket listener for on-the-fly # The following code implements a socket listener for on-the-fly
# reconfiguration of logging. # reconfiguration of logging.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment