使用System Property指定LogFactory Delegate

System.setProperty("vertx.logger-delegate-factory-class-name","io.vertx.core.logging.Log4j2LogDelegateFactory");

log4j2配置文件

log4j2.xml 放在 resources下





    
        D:\\test\\log\\