Log message for revision 68848:
  Removed import of deprecated 'LOG' object in favor of Python's 'logging' 
module.
  
  

Changed:
  U   Products.Five/branches/1.3/CHANGES.txt
  U   Products.Five/branches/1.3/fiveconfigure.py

-=-
Modified: Products.Five/branches/1.3/CHANGES.txt
===================================================================
--- Products.Five/branches/1.3/CHANGES.txt      2006-06-26 17:37:24 UTC (rev 
68847)
+++ Products.Five/branches/1.3/CHANGES.txt      2006-06-26 17:40:26 UTC (rev 
68848)
@@ -8,6 +8,15 @@
 Bugfixes
 --------
 
+* fiveconfigure.py: Removed import of deprecated 'LOG' object from 'zLOG'
+  in favor of the facilities provided by Python's 'logging' module.
+
+Five 1.3.6 (2006-05-29)
+=======================
+
+Bugfixes
+--------
+
 * Fixed an issue where <browser:page> based views that didn't have
   template or attribute defined weren't getting BrowserView mixed in.
 

Modified: Products.Five/branches/1.3/fiveconfigure.py
===================================================================
--- Products.Five/branches/1.3/fiveconfigure.py 2006-06-26 17:37:24 UTC (rev 
68847)
+++ Products.Five/branches/1.3/fiveconfigure.py 2006-06-26 17:40:26 UTC (rev 
68848)
@@ -21,10 +21,11 @@
 import sys
 import glob
 import warnings
+import logging
+logger = logging.getLogger('Five')
 
 import App.config
 import Products
-from zLOG import LOG, ERROR
 
 from zope.interface import classImplements, classImplementsOnly, implementedBy
 from zope.interface.interface import InterfaceClass
@@ -63,7 +64,7 @@
     # in the control panel. However, all attempts to do so has failed from my 
     # side. //regebro
     exc = sys.exc_info()
-    LOG('Five', ERROR, 'Could not import Product %s' % product.__name__, 
error=exc)
+    logger.error('Could not import Product %s' % product.__name__, error=exc)
 
 def loadProducts(_context):
     products = findProducts()

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

Reply via email to