Hello Looks like it's fixed in 1.10.1... Did you try checking?
regards Grzegorz Grzybek śr., 19 gru 2018 o 19:46 Ygor Castor <[email protected]> napisał(a): > I just saw this issue: https://ops4j1.jira.com/browse/PAXLOGGING-234 , > it's the problem i'm also facing. :( > > Em quarta-feira, 19 de dezembro de 2018 16:20:37 UTC-2, Ygor Castor > escreveu: >> >> 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. > -- -- ------------------ 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.
