What do you mean by “request flow”?  You can certainly do this in your code.

Ralph

> On Dec 19, 2014, at 6:10 AM, James Hutton <james.a.hut...@gmail.com> wrote:
> 
> I have some libraries that leverage slf4j for logging (can't change it)
> however my application leverages log4j2 and the slf4j-log4j2 bridge.  I was
> wondering if there is a way I can at the beginning of the request flow set
> a value in the ThreadContext or something so that the slf4j loggers will
> route to a specific log4j2 logger instead of the root logger.  Is this
> possible?
> 
> Thanks,
> James


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to