log4j config problem 2004-01-29 - By Yansheng Lin
Back This is driving me nuts!
Before I had my log4j.properties file under 'WEB-INF/classes/', and in the 'web.xml' everything worked fine when I had
<init-param> <param-name>log4j-config</param-name> <param-value>/WEB-INF/classes/log4j.properties</param-value> </init-param>
But after I moved log4j.properties up one level -- 'WEB-INF/, things stopped working. I always get the warning: log4j:WARN Please initialize the log4j system properly.
<init-param> <param-name>log4j-config</param-name> <param-value>/WEB-INF/log4j.properties</param-value> </init-param>
What reasonable explaination can I derive from this? That the <init-param> in my web.xml is not getting read when the application was loaded? Can anyone give me a better explaination?
Thanks!
-Yan
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|