I tried:
System.setProperty("org.apache.commons.logging.Log",
"org.apache.commons.logging.impl.SimpleLog");
System.setProperty("org.apache.commons.logging.simplelog.showdatetime",
"true");
System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http",
"DEBUG");
System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http.wire",
"ERROR");
Yes, that is another almost exactly copy-pasted example from the HttpClient
website. Didn't work.
The class really isn't big - one main method + couple lines. So I have no
idea how this could happen quote: "If Commons Logging picked up another
backend "
Also, there is this thing, that if there was some other backend then the
line: logger.debug("some test message"); would produce no output at all.
And since it does, it means it IS HttpClient issue.
For the record, I am simply using a provided jar from the website (no fancy
stuff).