Log4j 2.6.1 supports composite configurations.  See 
http://logging.apache.org/log4j/2.x/manual/configuration.html#CompositeConfiguration.

Ralph

> On Jun 29, 2016, at 3:00 PM, Benjamin Jaton <benjamin.ja...@gmail.com> wrote:
> 
> Hello again,
> 
> Is there a way to define a set appenders/logger/props and use them in
> several log4j2 configuration files?
> 
> Like:
> I define sub-conf C
> Then I create conf A that "imports" C,
> and conf B that "imports" C as well.
> 
> I know about x:include (https://issues.apache.org/jira/browse/LOG4J2-341),
> I was wondering if there were anything like it for JSON?
> 
> If not, would that be something that can be done programmatically?
> 
> Thanks,
> Ben



---------------------------------------------------------------------
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