[Zope-dev] Re: zLOG module deprecated

Andreas Jung lists at andreas-jung.com
Mon Jan 9 11:25:41 EST 2006



--On 9. Januar 2006 17:06:25 +0100 Florent Guillaume <fg at nuxeo.com> wrote:
>
> My point is that the python logging levels are insufficiently fine
> grained.

Sufficently enough for me. BLATHER & TRACE can be merged to DEBUG
and PROBLEM to either WARN|ERROR. This should be even enough for Zope.

> The python logging framework leaves room for numeric levels and
> registering equivalent strings, and indeed ZODB and zLOG have them
> defined.

Of course zLOG has all levels defined for backward compatibility.
An application should possibly defines its own logger with all 
possibilities the logging module offers when it has the need for additional 
logging levels.

-aj

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20060109/0c59720f/attachment.bin


More information about the Zope-Dev mailing list