hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugeny N Dzhurinsky <b...@redwerk.com>
Subject Re: logging
Date Wed, 05 Jul 2006 14:19:22 GMT
On Tue, Jul 04, 2006 at 06:59:18PM +0200, Roland Weber wrote:
> Hello Eugeny,
> > Does it means I need to set up properties for commons loggingtogether with
> > log4j?!
> > Looks weird since on commons logging page stated log4j could be used as well
> > w/o additional configuration for commons-logging.
> If you want to be on the safe side, set up properties that specify which
> logging package you want to use. Commons logging has a default search
> strategy, but that's the part of commons logging where most of the problems
> come from. For example, depending on your JDK version, the default strategy
> may select JDK logging instead of log4j. It's really not so much work to
> write a commons-logging.properties file with a property that specifies the
> log4j factory.

Okay, It seems I solved the problem with commons-logging by providing
commons-logging.properties file with

org.apache.commons.logging.Log = org.apache.commons.logging.impl.Log4JLogger

Thank you for help!
Eugene N Dzhurinsky

To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org

View raw message