[CPS-devel] zLOG is deprecated after Zope-2.9.0

Julien Anguenot ja at nuxeo.com
Thu Feb 9 17:28:11 CET 2006


Hi there,

For CPS devels, note that "zLOG" is deprecated with Zope > 2.9.0 and
throws a lot of warnings with CPS tests, of course. Please, start to use
and migrate the existing code to standard Python "logging" module.

http://docs.python.org/lib/module-logging.html

For example of "logging" use in CPS already you may want to check :
http://svn.nuxeo.org/trac/pub/file/CPSCore/trunk/commithooks.py

or still :
http://svn.nuxeo.org/trac/pub/file/CPSCore/trunk/TreeCacheManager.py

If you need TRACE, BLATHER or PROBLEM log levels you'll have to use the
same log levels as defined within the ZODB :

Please see :
http://svn.zope.org/ZODB/trunk/src/ZODB/loglevels.py?view=auto

Thanks.

Cheers,

	J.

-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060209/332ec81b/signature.pgp


More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.