[Python-Dev] Making loggerClass an attribute of the logger manager?

Georg Brandl g.brandl at gmx.net
Sat Feb 6 23:06:35 CET 2010


Am 25.11.2009 11:32, schrieb Vinay Sajip:
> Georg Brandl <g.brandl <at> gmx.net> writes:
> 
>> Making the loggerClass configurable per manager would solve the
>> problem for me, and AFAICS since most applications don't use
>> different managers anyway, there should not be any detrimental
>> effects.  What do you think?
> 
> Seems reasonable. Apart from the API to set/get, _loggerClass is only used by
> the manager when instantiating a new logger.

I've created a patch for this, see <http://bugs.python.org/issue7868>.  I'd like
to get this into 2.7 before beta1 :)

Georg


-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-Dev mailing list