9 Jan
2006
9 Jan
'06
4:13 p.m.
[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.