Using logging module for conditional nested logs
Vinay Sajip
vinay_sajip at yahoo.co.uk
Sat Nov 7 06:45:58 EST 2009
On Nov 4, 11:14 pm, Reckoner <recko... at gmail.com> wrote:
> Thanks again.
You're welcome. You asked (on a Logging 101 blog comment) for a
tutorial on how to use Filters. I can point you this Stack Overflow
question:
http://stackoverflow.com/questions/1383254/logging-streamhandler-and-standard-streams
The answer is perhaps the tutorial you asked for. Another example is
given in this test script:
http://opensolaris.org/sc/src/xen-gate/xvm-3.3+xen.hg/tools/python/logging/logging-0.4.9.2/test/log_test18.py
Hope it helps.
Regards,
Vinay Sajip
More information about the Python-list
mailing list