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

Re: Log4J doesn't work at all

by tommmmmm :: Rate this Message:

| View in Thread

On 10 April 2012 15:34, Jacob Kjome <hoju@...> wrote:

>
> That system property stuff only applies to commons-logging, not Log4j.
> Look more closely at the instructions [1].
>
> BTW, are you using commons-logging-api.jar?  If so, that's the problem.
> You need commons-logging.jar.  See the commons-logging release notes [2].
>
> [1] http://hc.apache.org/**httpcomponents-client-ga/**logging.html<http://hc.apache.org/httpcomponents-client-ga/logging.html>
> [2] http://commons.apache.org/**logging/RELEASE-NOTES.txt<http://commons.apache.org/logging/RELEASE-NOTES.txt>
>
>
> Jake


But I don't want to use commons-logging. I want to use log4j. In any case,
that System.property stuff didn't help either.
Part of the code simply gets..... ignored. Why?

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