[Checkins] SVN: Zope/trunk/ Undeprecated 'zLOG', which will remain a backward-compatibility shim for the Python logging module.

Tres Seaver tseaver at palladion.com
Sat Feb 3 22:27:39 EST 2007


Log message for revision 72358:
  Undeprecated 'zLOG', which will remain a backward-compatibility shim for the Python logging module.
  

Changed:
  U   Zope/trunk/doc/CHANGES.txt
  A   Zope/trunk/lib/python/zLOG/
  U   Zope/trunk/lib/python/zLOG/__init__.py
  _U  Zope/trunk/lib/python/zLOG/tests/

-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt	2007-02-04 03:18:16 UTC (rev 72357)
+++ Zope/trunk/doc/CHANGES.txt	2007-02-04 03:27:39 UTC (rev 72358)
@@ -8,6 +8,9 @@
 
     Restructuring
 
+      - Undeprecated 'zLOG', which will remain a backward-compatibility
+        shim for the Python logging module.
+
       - Indexes: Removed unused parameters from '_apply_index' methods.
 
       - Fixed Collector #2190: Calls to

Copied: Zope/trunk/lib/python/zLOG (from rev 68527, Zope/trunk/lib/python/zLOG)


Property changes on: Zope/trunk/lib/python/zLOG
___________________________________________________________________
Name: svn:ignore
   + *so
*.pyc
build


Modified: Zope/trunk/lib/python/zLOG/__init__.py
===================================================================
--- Zope/trunk/lib/python/zLOG/__init__.py	2006-06-08 17:08:43 UTC (rev 68527)
+++ Zope/trunk/lib/python/zLOG/__init__.py	2007-02-04 03:27:39 UTC (rev 72358)
@@ -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