hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Capturing request outputstream from HttpClient.
Date Sun, 15 Aug 2010 21:22:30 GMT
On Sun, 2010-08-15 at 16:03 -0400, Ryan Smith wrote:
> WRT logging, in 4.x how do you only log the wire headers and not the wire
> content?  In 3.x they were in different packages so I could configure a
> different log level in log4j.xml.
> Now they are in the same package.
> 

---
log4j.rootLogger=INFO, stdout

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p [%c] %m%n

log4j.logger.org.apache.http=DEBUG
log4j.logger.org.apache.http.wire=ERROR
---

Oleg

> On Sun, Aug 15, 2010 at 3:13 PM, Oleg Kalnichevski <olegk@apache.org> wrote:
> 
> > On Sat, 2010-08-14 at 13:27 -0700, Joshua Ball wrote:
> > > Hi,
> > >
> > > How can I capture the output generated for a http get/post? (for
> > debugging
> > > purposes)
> > >
> >
> > What's wrong with wire logging?
> >
> > Oleg
> >
> > > Normally I would just use wireshark, but the remote server only accepts
> > SSL.
> > >
> > > Josh "Ua" Ball
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> > For additional commands, e-mail: httpclient-users-help@hc.apache.org
> >
> >



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


Mime
View raw message