SAP / cf-python-logging-support

Logging library for python applications deployed on SAP Cloud Platform - CloudFoundry environment
Apache License 2.0
17 stars 11 forks source link

fix: include stacktrace for non-error logs #69

Closed mhaas closed 1 year ago

mhaas commented 1 year ago

The Python logging framework allows users to pass an exc_info kwarg to the logging methods, in which case the stacktrace is included even if loggers other than Logger.exception() is used.

mhaas commented 1 year ago

Hi @kmaslenkovsap, I appreciate if you can review this quick change :)