Hi Yunfeng, thank you for your reply !
My log4j.properties file is at the same location. Hmmmm ... I looked at the documentation for Log4jConfigListener. I think I now know the reason, why the logging changes, when I restart the Tomcat service. It seems that my configuration is loaded into the VM-wide log4j-setup. But I really have no idea how to change this :( So thank you for your hint - I will download and install Spring this night :) (another framework to become familiar with ... ufff) Would be great to find a comparable solution based on Hivemind :) Thanks again ! Bye, Gerald > >Maybe this will help. I am using spring. I put >log4j.properties into webapp/WEB-INF/classes. And have >the following config in web.xml. Interval is in >millisecond to reload the config file. > >Yunfeng Hou > >========================================================== > <context-param> > <param-name>log4jConfigLocation</param-name> > ><param-value>/WEB-INF/classes/log4j.properties</param-value> > </context-param> > <context-param> > <param-name>log4jRefreshInterval</param-name> > <param-value>1000</param-value> > </context-param> > <listener> > <listener-class> > >org.springframework.web.util.Log4jConfigListener > </listener-class> > </listener> >======================================================== >--- [EMAIL PROTECTED] wrote: > >> >> OK, >> >> the reason for duplicated messages was a >> misconfiguration in >> log4j.properties - there were 2 appenders down the >> path to my package with >> level 'DEBUG'. >> >> The 'WARN' level for Tapestry-debugging was set >> correctly. >> >> So there are only 2 questions left :) >> >> Thanks, >> Gerald >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]