python loggingL filter limitation, looks intentional?

Vinay Sajip vinay_sajip at
Mon Jan 16 18:56:45 EST 2012

On Jan 16, 11:21 pm, Vinay Sajip <vinay_sa... at> wrote:
> I thought from an earlier comment - "rather than just the root logger where my handlers live" - that you had your handlers attached to the root logger, in which case it wouldn't be onerous at all. In place of those individual handlers attached to the root, you simply attach your DelegatingHandler to the root logger, and attach the filter and the other handlers to that DelegatingHandler instance.

An example of using a delegating handler:


Vinay Sajip

More information about the Python-list mailing list