Added support for Log4j2 XML layout