Add transaction id, to incoming request, and log it in access log (Spring Boot with Tomcat)

Hi

Is it possible to add a transaction/trace id to the incoming http request, and log it, in the access log. All other logs, we use log4j2, and here these ids is automatically logged. We would like to be able, to correlate our access logs, with our application logs.

Br Casper

Hi and thanks for the question.

No, this is not possible at the moment. It would also be very hard to do. Some of the challenges are:

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.