Logging

Track usage and errors in your Expedia Group travel platform SDK

Log format

Logging frameworks support custom log formatting and layouts and including details such as the timestamp and the logger name at the origin of the logging event helps troubleshoot the SDK. In addition, log messages are annotated with the prefix ExpediaGroupSDK against which they could be filtered out.

13:36:59.287 [DefaultDispatcher-worker-1] INFO  c.e.s.c.c.c.ConfigurationCollector MDC= - ExpediaSDK: Successfully loaded [endpoint] from [runtime configuration]

Traceability

The SDK generates a unique transaction ID for every API call, which is useful for troubleshooting issues by tracing requests end-to-end. The transactions IDs are added to the request and response headers, and they are logged at the DEBUG level.

Did you find this page helpful?
How can we improve this content?
Thank you for helping us improve Developer Hub!