On 9 Jan 2006, at 17:20, Fred Drake wrote:

On 1/9/06, Florent Guillaume <[EMAIL PROTECTED]> wrote:
My point is that the python logging levels are insufficiently fine
grained.
The python logging framework leaves room for numeric levels and
registering equivalent strings, and indeed ZODB and zLOG have them
defined.

I want to use them.

Do you need someone else to define a constant for the level you want
before you can use them?  There's a API in the logging module that
allows you to pass the desired level in.  I see no reason to require a
constant to be defined outside your code.

It's useful to have them standardized so that the logging module can output a standard string for them in the logs.

Florent

--
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]


_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to