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


Groups > comp.lang.python > #51927

RE: Logging help

From "Joseph L. Casale" <jcasale@activenetwerx.com>
Subject RE: Logging help
Date 2013-08-04 16:06 +0000
References <4de058e63b2c48468eb11a1a57210747@exch.activenetwerx.com> <alpine.DEB.2.02.1308030757260.2301@gilgamesh>
Newsgroups comp.lang.python
Message-ID <mailman.184.1375632498.1251.python-list@python.org> (permalink)

Show all headers | View raw


>Oh hai - as I was reading the documentation, look what I found:
>
>http://docs.python.org/2/library/logging.html#filter
>
>Methinks that should do exactly what you want.

Hi Wayne,
I was too hasty when I looked at filters as I didn't think they could do
what I wanted. Turns out a logging object sent the filter method will
an exc_info attribute in my case.

Thanks!
jlc

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

RE: Logging help "Joseph L. Casale" <jcasale@activenetwerx.com> - 2013-08-04 16:06 +0000

csiph-web