在eclipse使用log4j2的时候遇到个问题:

我已经把log4j2.xml放到/src目录下了,而且设置从trace开始都打印到终端,但是我的程序里trace, info都不打印,到了error才打印

后来我发现,要选中eclipse的项目,右键--刷新,使得能在eclipse里看到log4j2.xml

 

You could also see my answer here:

http://stackoverflow.com/questions/14733698/log4j-2-configuration-issue/19875543#19875543 

相关文章:

  • 2021-07-10
  • 2022-12-23
  • 2021-05-15
  • 2022-03-08
  • 2022-01-14
  • 2021-11-26
  • 2021-12-19
猜你喜欢
  • 2021-10-15
  • 2022-02-18
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
相关资源
相似解决方案