hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laura Werner <la...@lwerner.org>
Subject Re: Where to post
Date Thu, 26 Jun 2003 19:47:22 GMT
Hi Nate,

>Jun 26, 2003 1:48:21 PM org.apache.commons.httpclient.HttpMethodBase
>INFO: Redirect requested but followRedirects is disabled
>I can just create a GetMethod and give it the url that would be redirected
>to, but how to get rid of that error message.  Any suggestions?
That's not really an error message, just a trace log that HttpClient 
writes to make it easier to figure out what's going on when a problem 
happens.  You can control the logging level, send the logs to a separate 
file (or to the bit bucket), and so on.  See 
http://jakarta.apache.org/commons/httpclient/logging.html for some info 
on how to do it.  In your case, you might want to set the logging level 
to "error" so you only see messages for serious problems.

-- Laura

View raw message