I am using Python 2.5. The Python logging module allows adding contextual information to your logging output. Is something similar possible in Python 2.5?
+2
A:
You can simply rip off the source code of LoggerAdapter
from Python 2.6 and plug it in your own source code to get the exact same functionality. This is how others do it.
Tamás
2010-06-17 10:08:07
Thank you. I got the example from Python documentation working.
2010-06-17 10:56:23