sap-cloud-sdk-logger Support for Correlation ID

66 views Asked by At

Will the sap-cloud-sdk-logger from @sap-cloud-sdk/util output the incoming correlation ID to the logs?

If not, how can we pass the correlation ID ourselves to the logger?

I couldn't find a corresponding hint in the documentation.

Background: We're seeing log entries from our app in Kibana, seemingly written by this logger, that are not instrumented with a correlation_id.

1

There are 1 answers

1
Pierre F On

This functionality isn't currently built into the SDK logger.

The SAP Cloud SDK has received a feature request to make it possible.