Announcement Announcement Module
Collapse
No announcement yet.
Log4j refresh is not workng with Log4jConfigListener Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Log4j refresh is not workng with Log4jConfigListener

    hi
    i have configured Log4jConfigListener in my web.xml file of tomcat and specified two context -param. i have done that with following code

    <context-param>
    <param-name>log4jRefreshInterval</param-name>
    <param-value>60000</param-value> <!-- 1 min -->
    </context-param>

    <context-param>
    <param-name>log4jConfigLocation</param-name>
    <param-value>/WEB-INF/log4j.properties</param-value>
    </context-param>

    <listener>
    <listener-class>org.springframework.web.util.Log4jConfigList ener</listener-class>
    </listener>

    the Log4jConfigListener is workng as i am having the desired logs. But its not refreshing the log4j.properties file. i am changing the properties file but there is no effect.

    please help
    Shamim
Working...
X