Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
326441e7
Commit
326441e7
authored
Feb 20, 2004
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copyright year change.
Corrections to comments. Added RESET_ERROR definition.
parent
781380c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
Lib/logging/config.py
Lib/logging/config.py
+7
-2
No files found.
Lib/logging/config.py
View file @
326441e7
...
@@ -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-200
2
Vinay Sajip. All Rights Reserved.
Copyright (C) 2001-200
4
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment