This pull request includes a series of changes aimed at improving the logging and header propagation logic. The changes primarily focus on traceId extraction and handling, as well as the inclusion of https requests in the proxy handler.
Changes
Refactored logging logic in src/initializers/log4js/index.ts to improve traceId extraction
Enhanced header propagation logic in src/utils.ts to handle depth and traceId more efficiently
Updated src/initializers/riviere.ts to include https request in the proxy handler
Adjusted corresponding unit tests in test/utils.test.ts to reflect these changes
Description
This pull request includes a series of changes aimed at improving the logging and header propagation logic. The changes primarily focus on traceId extraction and handling, as well as the inclusion of https requests in the proxy handler.
Changes
src/initializers/log4js/index.ts
to improve traceId extractionsrc/utils.ts
to handle depth and traceId more efficientlysrc/initializers/riviere.ts
to include https request in the proxy handlertest/utils.test.ts
to reflect these changes