ログ4 jの設定が正しい場合はログ情報の解決方法が表示されません.


これは気がふさいで長い間、私が使っていたspringの配置ですが、間違った情報を表示できなくて、最後に長い間逆立ちしました.ついに問題点を発見しました.
 
web.xmlのプロファイル4 jは以下の通りです.
<!-- Sprng   Log4j      -->
<context-param>
	<param-name>log4jConfigLocation</param-name>
	<param-value>/WEB-INF/log4j.properties</param-value>
</context-param>

<!--Spring    Log4j       ,   millisecond-->
<context-param>
	<param-name>log4jRefreshInterval</param-name>
	<param-value>30000</param-value>
</context-param>
 ロゴ4 jを読むモニターは以下の通りです.
<!--  Spring         -->
<listener>
	<listener-class>
		org.springframework.web.context.ContextLoaderListener
	</listener-class>
</listener>

<!--Spring log4j Config loader-->
<listener>
	<listener-class>
		org.springframework.web.util.Log4jConfigListener
	</listener-class>
</listener>
 この時、ログ情報はコンソールに表示されません.
しかし、私たちはこのように位置を変えると、ログ情報が表示されます.奇妙です.
<!--Spring log4j Config loader-->
<listener>
	<listener-class>
		org.springframework.web.util.Log4jConfigListener
	</listener-class>
</listener>
<!--  Spring         -->
<listener>
	<listener-class>
		org.springframework.web.context.ContextLoaderListener
	</listener-class>
</listener>