[Checkins] SVN: Zope/branches/2.10/ Un-deprecate 'zLOG' module.
Tres Seaver
tseaver at palladion.com
Sat Feb 3 22:18:19 EST 2007
Log message for revision 72357:
Un-deprecate 'zLOG' module.
Changed:
U Zope/branches/2.10/doc/CHANGES.txt
U Zope/branches/2.10/lib/python/zLOG/__init__.py
-=-
Modified: Zope/branches/2.10/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.10/doc/CHANGES.txt 2007-02-04 03:11:14 UTC (rev 72356)
+++ Zope/branches/2.10/doc/CHANGES.txt 2007-02-04 03:18:16 UTC (rev 72357)
@@ -8,6 +8,8 @@
Bugs fixed
+ - Undeprecated 'zLOG', which will remain a backward-compatibility
+ shim for the Python logging module.
Zope 2.10.2 (2007/01/26)
Modified: Zope/branches/2.10/lib/python/zLOG/__init__.py
===================================================================
--- Zope/branches/2.10/lib/python/zLOG/__init__.py 2007-02-04 03:11:14 UTC (rev 72356)
+++ Zope/branches/2.10/lib/python/zLOG/__init__.py 2007-02-04 03:18:16 UTC (rev 72357)
@@ -78,7 +78,6 @@
"""
-import warnings
from EventLogger import log_write, log_time, severity_string
from traceback import format_exception
@@ -133,11 +132,6 @@
error is reraised.
"""
- warnings.warn('The zLOG package is deprecated and will be removed in '
- 'Zope 2.11. Use the Python logging module instead.',
- DeprecationWarning,
- stacklevel=2)
-
log_write(subsystem, severity, summary, detail, error)
if reraise and error:
raise error[0], error[1], error[2]
More information about the Checkins
mailing list