Florent Guillaume wrote:
I guess I'm looking for a show_stack option...


import traceback; traceback.print_stack()

Yes thankyou, my egg sucking is quite proficient ;-)

Tim, how would I go about getting one of those added to Python?
(It's not much of a code change, but the process of getting it into python seems a bit daunting from an outsiders perspective...)

I'd like to be able to do:

logger.info('blah',show_stack=True)

cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to