0
我的log4j2.xml文件中有兩個AsyncLogger。他們都有相同的前綴esb.api-vehicle-registration-v1。log4j2.xml - 如何排除類別
<!-- API specific Groovy files -->
<AsyncLogger name="esb.api-vehicle-registration-v1.get-registration.web-service-response-validate.groovy" level="OFF"/>
<!-- API specific log messages -->
<AsyncLogger name="esb.api-vehicle-registration-v1" level="DEBUG"/>
是否有可能改變第一AsyncLogger定義中使用像這樣一個通配符...
<AsyncLogger name="esb.api-vehicle-registration-v1.get-registration.*.groovy" level="OFF"/>
我問,因爲我要從一些*常規類別我會的日誌輸出喜歡排除。
我嘗試過,但它似乎沒有工作。