Does Log4j2 support file inclusion mechanism like Logback does ? This is for including parts of a configuration file from another file (containing appenders, loggers etc.)>
A slightly different but similar mechanism exists in Log4j2, it supports XInclude.
See https://issues.apache.org/jira/browse/LOG4J2-341 for details. (This needs to be documented better...)