Very simple log4j2 XML configuration file using Console and File appender

問題:

I'd like a very simple XML configuration file with a console and a file appender using log4j2.我想要一個非常簡單的 XML 配置文件,它帶有一個控制檯和一個使用 log4j2 的文件附加器。

(The Apache Website is killing me with much Information.) (Apache 網站的大量信息讓我很崩潰。)


解決方案:

參考一: https://en.stackoom.com/question/1QyuH
參考二: https://stackoom.com/question/1QyuH
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章