commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Novotny <novo...@gridsphere.org>
Subject using commons-logging in webapp w/ log4j, can't find my properties
Date Sat, 14 Oct 2006 05:19:25 GMT

Hi,

    I have a webapp and I have deployed common-logging-1.1 jar and 
log4j-1.2.11 in my WEB-INF/lib directory of my webapp. I have also place 
a log4j.properties file in my WEB-INF/classes directory. However, when 
the webapp runs, I see only INFO level is being logged. It all worked 
fine when I placed some line of the form

PropertyConfigurator.configure(url);

which forces a log4j to use the supplied config file, however I didn't 
think this was necessary--

Any help is greatly appreciated!

    Thanks, Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message