Hi
I am planning to use MDC with Log4J and use it with the XMLLayout so that the MDC information (which in my case is the host name) is recorded with every log message .
I was able to successfully use MDC with the PatternLayout by specifying it as
<layout...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.