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>