Re: ThreadContext vs asynchronous app

2015-05-21 Thread Mikael Ståldal
A good start would be to implement what I suggest in https://issues.apache.org/jira/browse/LOG4J2-1010, add possibility to set the context map in calls to the methods in the Logger interface. That would make it possible to implement what I need on top of Log4j 2. I can't come up with any really

Errors when using XMLLayout

2015-05-21 Thread Mikael Ståldal
When trying to use XMLLayout, I get this error. Using Log4j 2.3 and these additional runtime dependecies: com.fasterxml.jackson.core % jackson-core % 2.5.3 com.fasterxml.jackson.dataformat % jackson-dataformat-xml % 2.5.3 2015-05-21 19:04:47,283 ERROR