You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Fred Eisele <fr...@gmail.com> on 2019/11/01 17:10:58 UTC

Re: Changing the Attributes on a RollingAppender

I had not seen the RoutingAppender.
It looks like it will do the trick.
Thanks

On 2019/08/22 13:19:59, "Carter Kozak" <c....@ckozak.net> wrote:
> Have you considered using a routing appender[1]? It can write to a
specific file based on jvm system properties, thread context (MDC), or any
other pattern parameter.>
>
> 1.
https://logging.apache.org/log4j/2.x/manual/appenders.html#RoutingAppender>