Log message for revision 67798: remove zLOG use. Changed: U Zope/branches/2.9/lib/python/OFS/subscribers.py
-=- Modified: Zope/branches/2.9/lib/python/OFS/subscribers.py =================================================================== --- Zope/branches/2.9/lib/python/OFS/subscribers.py 2006-05-01 14:12:47 UTC (rev 67797) +++ Zope/branches/2.9/lib/python/OFS/subscribers.py 2006-05-01 14:14:26 UTC (rev 67798) @@ -18,9 +18,8 @@ """ import warnings -import sys +from logging import getLogger -from zLOG import LOG, ERROR from Acquisition import aq_base from App.config import getConfiguration from AccessControl import getSecurityManager @@ -35,6 +34,7 @@ deprecatedManageAddDeleteClasses = [] +LOG = getLogger('OFS.subscribers') def compatibilityCall(method_name, *args): """Call a method if events have not been setup yet. @@ -152,7 +152,7 @@ except ConflictError: raise except: - LOG('Zope', ERROR, '_delObject() threw', error=sys.exc_info()) + LOG.error('_delObject() threw', exc_info=True) # In debug mode when non-Manager, let exceptions propagate. if getConfiguration().debug_mode: if not getSecurityManager().getUser().has_role('Manager'): _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins