On Thu, 2008-06-05 at 08:51 +1000, Steven Adams wrote:
> But org.apache.http.wire is right?
> 

Yes, it is.

Oleg

> -----Original Message-----
> From: Sam Berlin [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, 5 June 2008 12:03 AM
> To: HttpClient User Discussion
> Subject: Re: Log4j with Httpclient 4.x
> 
> s/patch/path
> 
> On Wed, Jun 4, 2008 at 10:02 AM, Sam Berlin <[EMAIL PROTECTED]> wrote:
> > Not sure if anyone has pointed out that:
> >
> >  logj4.logger.org.apache.commons.httpclient=DEBUG, httc
> >
> > ...is not the correct patch for httpclient 4.0.
> >
> > Sam
> >
> > On Wed, Jun 4, 2008 at 8:42 AM, Steven Adams <[EMAIL PROTECTED]> wrote:
> >> It's picking up the log4j properties files. As I make changes to the
> >> properties file (change log files etc) the log names do actually change,
> I
> >> can also turn the logging down which is also reflected.
> >>
> >> I know its straying away.. I guess I just wanted to make sure that my
> >> properties file looks right for using httpclient with log4j..
> >>
> >> Thanks
> >> Steve
> >>
> >> -----Original Message-----
> >> From: sebb [mailto:[EMAIL PROTECTED]
> >> Sent: Wednesday, 4 June 2008 9:37 PM
> >> To: HttpClient User Discussion
> >> Subject: Re: Log4j with Httpclient 4.x
> >>
> >> On 04/06/2008, Steven Adams <[EMAIL PROTECTED]> wrote:
> >>> Hi,
> >>>
> >>>  I know it's using log4j as its outputting everything via the root
> >> category.
> >>>
> >>>  But when I try put to it in its own category (log file) it's just not
> >>>  working.
> >>>
> >>>  Any ideas?
> >>
> >> Is the log4j properties file having any effect?
> >> If not, then presumably log4j is not finding it.
> >>
> >> This is straying off-topic for this mailing list.
> >>
> >>>
> >>>  -----Original Message-----
> >>>  From: sebb [mailto:[EMAIL PROTECTED]
> >>>  Sent: Monday, 2 June 2008 9:24 PM
> >>>  To: HttpClient User Discussion
> >>>  Subject: Re: Log4j with Httpclient 4.x
> >>>
> >>>  On 02/06/2008, Steven Adams <[EMAIL PROTECTED]> wrote:
> >>>  > Hi,
> >>>  >
> >>>  >  I've been trying to get log4j working with httpclient 4.x.
> >>>  >
> >>>  >  My properties file looks like the following..
> >>>  >
> >>>  >  ----SNIP----
> >>>  >  logj4.logger.org.apache.commons.httpclient=DEBUG, httc
> >>>  >  logj4.logger.org.apache.http.wire=DEBUG, httc
> >>>  >  logj4.logger.org.apache.http.headers=DEBUG, httc
> >>>  >
> >>>  >  log4j.appender.httc =org.apache.log4j.FileAppender
> >>>  >  log4j.appender.httc.File=logs/httc.log
> >>>  >  log4j.appender.httc.layout=org.apache.log4j.PatternLayout
> >>>  >  log4j.appender.httc.layout.ConversionPattern=%p %d{dd MMM yyyy
> >> HH:mm:ss}
> >>>  >  [%t] %c %x - %m%n
> >>>  >  ----SNIP----
> >>>  >
> >>>  >  Any ideas?
> >>>  >
> >>>
> >>>  Is it using log4j logging? Or has it picked some other logger?
> >>>  If so, the following advice just posted to Commons User list might
> help:
> >>>
> >>>  You could try putting a file named "commons-logging.properties" in your
> >>>  app's classpath with the following contents:
> >>>
> >>>
> >>
> org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
> >>>
> >>>  This will force commons logging to use log4j.
> >>>
> >>>  >
> ---------------------------------------------------------------------
> >>>  >  To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>  >  For additional commands, e-mail: [EMAIL PROTECTED]
> >>>  >
> >>>  >
> >>>
> >>>  ---------------------------------------------------------------------
> >>>  To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>  For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>>  ---------------------------------------------------------------------
> >>>  To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>  For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to