Hi all, I'd like to log exception traceback information in the Pylons system log from my controller code, and I'm doing so something like this:
try: # do some code that might throw an exception except Exception, e: log.exception(str(e)) In testing this and forcing an exception to occur, when the log.exception() call is hit, I get two complete exception tracebacks printed to the system log. Debugging into this, the first one is generated as I expect by the logging module, but then there is this long processing that (that I can't completely see in the Wing debugger) that ends up talking about the world being destroyed, and where the second traceback is generated. Does anyone have any ideas about what's going on here and how I can correct what I'm doing so I only get one traceback in my system log? Thanks in advance! Doug -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-disc...@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.