Log message for revision 68826:
  removed zLOG dependency
  

Changed:
  U   Zope/branches/2.9/lib/python/Products/Transience/Transience.py

-=-
Modified: Zope/branches/2.9/lib/python/Products/Transience/Transience.py
===================================================================
--- Zope/branches/2.9/lib/python/Products/Transience/Transience.py      
2006-06-24 14:21:26 UTC (rev 68825)
+++ Zope/branches/2.9/lib/python/Products/Transience/Transience.py      
2006-06-24 14:22:48 UTC (rev 68826)
@@ -22,6 +22,7 @@
 import sys
 import os
 import thread
+import logging
 from cgi import escape
 
 import Globals
@@ -40,8 +41,8 @@
 from AccessControl.SecurityManagement import newSecurityManager, \
      setSecurityManager
 from AccessControl.User import nobody
-from zLOG import LOG, WARNING, INFO
 
+
 from TransientObject import TransientObject
 from Fake import FakeIOBTree
 
@@ -60,6 +61,8 @@
 
 _marker = []
 
+LOG = logging.getLogger('Transience')
+
 def setStrict(on=''):
     """ Turn on assertions (which may cause conflicts) """
     global STRICT
@@ -72,7 +75,7 @@
     for arg in args:
         sargs.append(str(arg))
     msg = ' '.join(sargs)
-    LOG('Transience', INFO, msg)
+    LOG.info(msg)
 
 constructTransientObjectContainerForm = HTMLFile(
     'dtml/addTransientObjectContainer', globals())

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to