[openstack-dev] Logging and traceback at same time.

Sean McGinnis sean.mcginnis at gmx.com
Wed Feb 3 14:35:20 UTC 2016


On Wed, Feb 03, 2016 at 10:36:55AM +0100, Julien Danjou wrote:
> On Wed, Feb 03 2016, Khayam Gondal wrote:
> 
> > Is there a way to do logging the information and traceback at the same
> > Let me know if this is correct way?
> 
> Pass exc_info=True in your LOG.<level>() call.

Ooo, great tip!

> 
> -- 
> Julien Danjou
> ;; Free Software hacker
> ;; https://julien.danjou.info



> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list