Commit 084c486f authored by Tres Seaver's avatar Tres Seaver

Un-deprecate zLOG.

parent f5ad1fe6
......@@ -8,6 +8,9 @@ Zope Changes
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.
......
......@@ -78,7 +78,6 @@ somewhere else.
"""
import warnings
from EventLogger import log_write, log_time, severity_string
from traceback import format_exception
......@@ -133,13 +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