Log message for revision 41219: zLOG Changed: U Zope/trunk/lib/python/Products/Transience/help/Transience-change.stx
-=- Modified: Zope/trunk/lib/python/Products/Transience/help/Transience-change.stx =================================================================== --- Zope/trunk/lib/python/Products/Transience/help/Transience-change.stx 2006-01-08 14:30:11 UTC (rev 41218) +++ Zope/trunk/lib/python/Products/Transience/help/Transience-change.stx 2006-01-08 14:33:18 UTC (rev 41219) @@ -99,8 +99,9 @@ An example of an External Method used as a delete script:: def deleteScript(item, container): - from zLOG import LOG - LOG(100, 'test', 'id: %s' % item.getId()) + from logging import getLogger + LOG = getLogger('test') + LOG.info('id: %s' % item.getId()) See Also _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins