adding another log record with context information
I’m running an application in wildfly 26. When exceptions are logged, I want to add another log line with information coming from a ThreadLocal inside my application (it contains information like the called REST-Endpoint and user info). So my idea was to wrap a Logging Handler and publish another message. Following is an incomplete solution, I’m not yet filtering for exceptions and not adding the correct message yet.