[Zope-dev] Re: [Checkins] SVN: Zope/branches/2.9/lib/python/
Replace bulk
of uses of 'zLOG' with equivalent Python 'logging' module usage.
Florent Guillaume
fg at nuxeo.com
Sun Jun 25 14:58:33 EDT 2006
Andreas Jung wrote:
>
>
> --On 25. Juni 2006 16:32:04 +0200 "Stefan H. Holek" <stefan at epy.co.at>
> wrote:
>
>> This, BTW, breaks CMF 1.5 on Zope 2.9. Not sure I/you should care though
>> ;-)
>>
>> Traceback (most recent call last):
>> File "/home/stefan/autotest/temp/python24-zope29-cmf15/Products/
>> CMFActionIcons/__init__.py", line 19, in ?
>> from Products.CMFCore.DirectoryView import registerDirectory
>> File "/home/stefan/autotest/temp/python24-zope29-cmf15/Products/
>> CMFCore/__init__.py", line 21, in ?
>> import MembershipTool, WorkflowTool, CatalogTool, DiscussionTool
>> File "/home/stefan/autotest/temp/python24-zope29-cmf15/Products/
>> CMFCore/CatalogTool.py", line 23, in ?
>> from Products.ZCatalog.ZCatalog import LOG
>> ImportError: cannot import name LOG
>>
>
> Tres,
>
> you replace all 'LOG' vars with 'logger'. Is there a reason for this
> replacement? We've been using LOG through out the complete Z2 core..we
> should remain consistent in some way.
Certainly not the whole core, Zope 2.10 has many many uses of logger.
Including the ones in Zope 3, and ZODB, which *are* part of Zope 2.10.
Florent
--
Florent Guillaume, Nuxeo (Paris, France) Director of R&D
+33 1 40 33 71 59 http://nuxeo.com fg at nuxeo.com
More information about the Zope-Dev
mailing list