Traceback in Logging

Vinay Sajip vinay_sajip at yahoo.co.uk
Wed Jan 7 05:47:32 EST 2009


On Jan 6, 10:19 pm, Thorsten Kampe <thors... at thorstenkampe.de> wrote:
> I don't think he's interested in the "line number where the logging call
> was issued" but where the exception occurred.

Well, he does say "all logging" and "every logging". And, as I
mentioned earlier, there is already support for tracebacks by using
the Logger.exception method in an exception handler.

Regards,

Vinay Sajip




More information about the Python-list mailing list