[Zope-dev] Re: zLOG module deprecated

Tim Peters tim.peters at gmail.com
Mon Jan 9 11:13:42 EST 2006


[Fred Drake]
> Nobody should be using the zLOG levels with the logging package, but
> rather use the logging package levels.  So in the end, there's no need
> for Zope to be defining levels at all, only conventions for how the
> levels are used.

The logging package supports defining as many additional named levels
as you feel like adding, and ZODB added BLATHER and TRACE
zLOG-workalike levels at the time ZODB was converted to use the
logging package.  People may want to restrict themselves to using
logging's built-in levels, but logging was designed to be extended in
this way, so there's no technical barrier here.  In particular, nobody
would want to get ZEO's voluminous but micro-purpose TRACE output at
debug level.


More information about the Zope-Dev mailing list