Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36786 > unrolled thread

Re: Making a logging handler that produces context.

Started byAntoon Pardon <antoon.pardon@rece.vub.ac.be>
First post2013-01-14 15:26 +0100
Last post2013-01-14 15:26 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Making a logging handler that produces context. Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-01-14 15:26 +0100

#36786 — Re: Making a logging handler that produces context.

FromAntoon Pardon <antoon.pardon@rece.vub.ac.be>
Date2013-01-14 15:26 +0100
SubjectRe: Making a logging handler that produces context.
Message-ID<mailman.497.1358173566.2939.python-list@python.org>
Op 14-01-13 13:38, Peter Otten schreef:
> It turns out the logic of the above is correct. The problem is that the 
> handler has to see the INFO-level records while the filter() method has to 
> reject them. The following configuration seems to achieve that:

I see, I thought trowing away logrecords of too low a level was also
done by the filter method.
But if I now understand correctly logrecords of too low a level are
thrown away earlier and
don't even reach the handle method.

Thanks for the insight.

-- 
Antoon Pardon

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web