[logback-user] Getting null from getPropertyMap in LogbackMDCAdapter in the same thread, different binary
gurnamsjunk at gmail.com
Thu Aug 4 19:46:47 CEST 2011
After switching from log4j to logback, I am getting null
from getPropertyMap() in LogbackMDCAdapter. I can confirm that it's the same
thread where the value is being put. However the put is called in a
different binary (same JVM of course).
If logging is done in the same codebase (binary) where MDC put is called, it
works as expected bug it the logger is invoked from a different
binary, copyOnInheritThreadLocal.get() in getPropertyMap() is returning
Any suggestions? Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Logback-user