Log message for revision 72356: Un-deprecate zLOG. Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/zLOG/__init__.py
-=- Modified: Zope/branches/2.9/doc/CHANGES.txt =================================================================== --- Zope/branches/2.9/doc/CHANGES.txt 2007-02-03 19:32:19 UTC (rev 72355) +++ Zope/branches/2.9/doc/CHANGES.txt 2007-02-04 03:11:14 UTC (rev 72356) @@ -8,6 +8,9 @@ Bugs fixed + - Undeprectated 'zLOG' package, which is going to remain a + backward-compatibility shim for the Python logger. + - Collector #2263: 'field2ulines' did not convert empty string correctly. Modified: Zope/branches/2.9/lib/python/zLOG/__init__.py =================================================================== --- Zope/branches/2.9/lib/python/zLOG/__init__.py 2007-02-03 19:32:19 UTC (rev 72355) +++ Zope/branches/2.9/lib/python/zLOG/__init__.py 2007-02-04 03:11:14 UTC (rev 72356) @@ -78,7 +78,6 @@ """ -import warnings from EventLogger import log_write, log_time, severity_string from traceback import format_exception @@ -133,13 +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] _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins