Log4j 2, ThreadContext and asynchronous servlets

2014-08-20 Thread Mikael Ståldal
Is it possible to have the ThreadContext in Log4j 2 to be request scoped with asynchronous servlets in a Servlet 3 environment? With asynchronous servlets, there is no direct connection between request and thread. -- Mikael Ståldal Chief Software Architect *Appear* Phone: +46 8 545 91 572

Re: Log4j2 SyslogAppender / SyslogLayout and message format

2014-08-20 Thread Gary Gregory
Hello, Can you give us a specific example of what you'd like to achieve? Thank you, Gary On Tue, Aug 19, 2014 at 7:25 AM, Brett Delle Grazie brett.dellegra...@gmail.com wrote: Hi, I'm trying to use the SyslogAppender and possibly the SyslogLayout but I wanted to customise the message