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

Julien Danjou julien at danjou.info
Wed Feb 3 09:36:55 UTC 2016

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.

Julien Danjou
;; Free Software hacker
;; https://julien.danjou.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160203/cca25306/attachment.pgp>

More information about the OpenStack-dev mailing list