xml檔案,並寫入如下內容:~/各節點的詳細說明,詳見《Log4j2使用詳解》logBase請根據專案的實際日誌目錄修改3、列印日誌一般情況下,我們使用LoggerFactory去獲取Logger物件,在BlogController中我們加
@Log4j2@Configuration(proxyBeanMethods = false)//需要在引入了 prometheus 並且 actuator 暴露了 prometheus 埠的情況下才載入@ConditionalOnEna