[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.

좋은 웹페이지 즐겨찾기