hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: How to configure log4j.
Date Sat, 22 May 2004 12:08:51 GMT
Steve,
The best thing to do is to consult the 'Default Initialization
Procedure' section of the Log4J manual

http://logging.apache.org/log4j/docs/manual.html

Usually all it takes to have Log4J properly configured is to make sure
that log4j.properties file is in the class path. 

If still experiencing problems with Log4J configuration try setting the
following system property at the JVM startup

-Dlog4j.debug

This will prompt Log4J to output log4j-internal debugging information

Oleg


On Fri, 2004-05-21 at 16:56, Steve Johnson wrote:
> Hi All,
>  
> Please help me initialize the log4j system properly.
>  
> I have attempted to create a properties file and use System properties.
> Do I need to put the properties file in the jar in the same directory with the classes?
> Is there a default properties file for httpclient?
>  
> log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.methods.GetMethod).
> log4j:WARN Please initialize the log4j system properly.
>  
> Help Cecil Help,
> Steve
>  
> Steve Johnson
> Software Engineer
> Mercury Interactive
> 720 564 - 6532
> USA, Canada and the Americas 
> 720 564-6620
> Hours: M-F 08:00-17:00 MST (Mountain Standard Time) 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>  <http://www.mercuryinteractive.com> http://www.mercuryinteractive.com
> Looking for Answers to your SiteScope or SiteSeer questions?        <http://support.mercuryinteractive.com>
> http://support.mercuryinteractive.com
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>  
> 
> 


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


Mime
View raw message