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: stacktrace not shown in kibana #63

Closed mhaas closed 2 years ago

mhaas commented 2 years ago

When logging exceptions with logging.exception(), the cf-python-logging library will emit the stacktrace as a separate field in the JSON. This field is now being filtered by the BTP and no longer visible in Kibana.

This commit adds the stacktrace to the main 'msg' field and thus makes it possible again to debug exceptions in our Python applications.

mhaas commented 2 years ago

Hi @gvachkov, @alexpenev-s,

please let me know your thoughts on this change. It would be good to have the issue addressed soon.

Thanks

Michael

jahan01 commented 2 years ago

@alexpenev-s @gvachkov any one of can review this and merge ? We would also need this.

cla-assistant[bot] commented 2 years ago

CLA assistant check
All committers have signed the CLA.