Commit 9c93f289 authored by Tres Seaver's avatar Tres Seaver

Un-deprecate 'zLOG' module.

parent b42a8094
......@@ -8,6 +8,8 @@ Zope Changes
Bugs fixed
- Undeprecated 'zLOG', which will remain a backward-compatibility
shim for the Python logging module.
Zope 2.10.2 (2007/01/26)
......
......@@ -78,7 +78,6 @@ somewhere else.
"""
import warnings
from EventLogger import log_write, log_time, severity_string
from traceback import format_exception
......@@ -133,11 +132,6 @@ def LOG(subsystem, severity, summary, detail='', error=None, reraise=None):
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]
......
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