I did this in my class:
PropertyConfigurator.configure("./src/logging/log4j.properties");
And that file is:
log4j.rootLogger=DEBUG, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p [%c] %m%n
log4j.logger.org.apache.http=DEBUG
Yet absolutely no additional output is generated!!!
I also did this:
logger.debug("some test message");
and it does show "some test message" so it ultimately proves that
configuration file WAS lodaed and that it was loaded PROPERLY.
Yet for some reason the HttpClient doesn't want to sprout any logs at
all.....
--
Tomasz P.