« Return to Thread: Log4J doesn't work at all

Re: Log4J doesn't work at all

by tommmmmm :: Rate this Message:

| View in Thread

>
>
>   System.setProperty("log4j.**logger.org.apache.http.client"**, "DEBUG");
>
> But HttpClient's instructions say to do (again, read the instructions more
> closely)...
>      System.setProperty("org.**apache.commons.logging.**
> simplelog.log.org.apache.http.**wire", "DEBUG");
>
>
For the record, you are refering to HttpClient 3.x
HttpClient 3.x logging works perfectly for me, straight off the bat.

HttpClient 4.x doesn't work at all. And it has different syntax.
Just for the sake of it - I used old syntax with new HttpClient - no output
generated.

Tom

 « Return to Thread: Log4J doesn't work at all