logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Jaton <benjamin.ja...@gmail.com>
Subject Sharing common log4j2 configuration
Date Wed, 29 Jun 2016 22:00:20 GMT
Hello again,

Is there a way to define a set appenders/logger/props and use them in
several log4j2 configuration files?

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?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message