Maybe try running this code: http://pastebin.com/brCccS3M
It will list all your available classpaths. Then put your 'log4j.properties' file in one of the listed directories on the classpath. hth, -Ryan On Tue, Apr 10, 2012 at 3:28 PM, tommmmmm <[email protected]> wrote: > I thought that if there is: > getClass().getClassLoader().getResource("log4j.properties") > there also woulb be: > getClass().getClassLoader().setResource("log4j.properties") > > I was so wrong. > > How do I point the httpClient to my properties file? I thought that's why > the line log4j.logger.org.apache.http=DEBUG was for in the first place... >
