使用SystemProperty指定LogFactoryDelegateSystem.setProperty("vertx.logger-delegate-factory-class-name","io.vertx.core.logging.Log4j2LogDelegateFactory");log4j2配置文件log4j2.xml放在resources下<?xmlversion="1.0
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号