python loggingL filter limitation, looks intentional?
vinay_sajip at yahoo.co.uk
Mon Jan 16 18:56:45 EST 2012
On Jan 16, 11:21 pm, Vinay Sajip <vinay_sa... at yahoo.co.uk> 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:
More information about the Python-list