This week's book giveaway is in the NodeJS forum. We're giving away four copies of Serverless Applications with Node.js and have Slobodan Stojanovic & Aleksandar Simovic on-line! See this thread for details.
I have a Spring Boot servlet web service which is called with some HTTP header information. I need to output this header information in any trace files which are produced by the application. Tracing is done my log4j2, and I'm after advice as to how to ensure that this header information is available to all classes within the application so it can be included in the logs.
I thought about placing the information into session, and then make this httpSession object available thoughout the application but this seems like overkill. Are there any other recommended ways to do this?