聊聊logback的addtivity属性
2023-11-30
阅读 5 分钟
598序本文主要研究一下logback的addtivity属性LoggerModelch/qos/logback/classic/model/LoggerModel.java {代码...} LoggerModel定义了additivity属性LoggerActionch/qos/logback/classic/joran/action/LoggerAction.java {代码...} LoggerAction的buildCurrentModel方法会读取additivity属性,然后设置到loggerModelLogge...