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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章