hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From George Gastaldi <george.gasta...@neogrid.com.br>
Subject RE: Occassional long download times
Date Tue, 08 Jul 2003 13:27:43 GMT
Sorry, this does not support attachments. Here is the file contents:
 
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
org.apache.commons.logging.simplelog.showdatetime=true
org.apache.commons.logging.simplelog.log.httpclient.wire=debug
org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient=trace
 
log4j.rootCategory=debug, rolling
log4j.appender.rolling=org.apache.log4j.RollingFileAppender
 
log4j.appender.rolling.File=./logs/httpclient.log
 
log4j.appender.rolling.MaxFileSize=1000KB
log4j.appender.rolling.MaxBackupIndex=1
 
log4j.appender.rolling.layout=org.apache.log4j.PatternLayout
log4j.appender.rolling.layout.ConversionPattern=%d{MM/dd/yyyy HH:mm:ss} %c -
%m%n


-----Original Message-----
From: George Gastaldi [mailto:george.gastaldi@neogrid.com.br]
Sent: Tuesday, July 08, 2003 10:26 AM
To: Commons HttpClient Project
Subject: RE: Occassional long download times



Attached is an example of a log4j properties config file. Be sure to set the
parameter: 
-Dlog4j.configuration=C:/log4j.properties for example 



-----Original Message----- 
From: Michael Mattox [ mailto:michael.mattox@verideon.com
<mailto:michael.mattox@verideon.com> ] 
Sent: Tuesday, July 08, 2003 10:05 AM 
To: Eric Johnson; Commons HttpClient Project 
Subject: RE: Occassional long download times 


I've tried to turn the wire logging on but can't get it to work.  I pasted 
the code to set the system properties but that doesn't work.  Is it possible

to use the wire log with Log4J? 

Thanks 
Michael 

> -----Original Message----- 
> From: Eric Johnson [ mailto:eric@tibco.com <mailto:eric@tibco.com> ] 
> Sent: Monday, July 07, 2003 3:23 PM 
> To: Commons HttpClient Project 
> Subject: Re: Occassional long download times 
> 
> 
> Michael, 
> 
> You might try turning on the wire and/or trace logging (which sounds 
> like it might generate a lot of data), but it would also tell you 
> exactly where the delay occurs. 
> 
> Knowing where the culprit occurs would provide additional detail that 
> might clearly identify whether the problem lies with HttpClient or the 
> network. 
> 
> -Eric. 




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




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message