spring boot的log4j2異步日誌配置

1、log4j2異步配置 一、啓動位置設置web System.setProperty("Log4jContextSelector", "org.apache.logging.log4j.core.async.AsyncLoggerContextSelector"); 二、引入異步日誌依賴spring <dependency> <groupId>com.lmax</grou
相關文章
相關標籤/搜索