`
SilverRing
  • 浏览: 70826 次
社区版块
存档分类
最新评论

[Log4j] listener order matters

阅读更多
The order of the two listeners ContextLoaderListener and Log4jConfigListener in web.xml does matter. Log4jConfigListener should be in front of ContextLoaderListener. Otherwise, the start-up log traces aren't visible and the error below shows up.

log4j:WARN Please initialize the log4j system properly.
分享到:
评论
1 楼 SilverRing 2010-05-13  
It happens in Tomcat, not JBoss.

相关推荐

Global site tag (gtag.js) - Google Analytics