Scoped ThreadContext? Oh man, that sounds interesting. I don't think there's any current way to support that; it would definitely be a new feature! You can file a JIRA issue and contributions are welcome! Though such a feature may require some sweeping life cycle type changes in the API/SPI.
On 20 August 2014 04:17, Mikael Ståldal <[email protected]> wrote: > 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 > Email: [email protected] > -- Matt Sicker <[email protected]>
