Hello! I'm with having a problem with ThreadContext, i'm adding a custom
MDC to the Log using the ThreadContext.put("key","value"), as expected it
works, but just for the first LOG after the put, example:
ThreadContext.put("user","id");
LOG.info("LOG1"); // Here the custom MDC prints
LOG.info("LOG2"); // Here it does not
I've already tested in an non-osgi environment, and it works as expected,
is there a peculiarity with pax-logging to use ThreadContext values?
I'm using Karaf 4.1.5 with Pax-Logging 1.10.0
--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]
---
You received this message because you are subscribed to the Google Groups
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.