hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "neil al" <nva0...@gmail.com>
Subject Re: logging
Date Fri, 30 Jun 2006 01:34:28 GMT
Hi,

I am not sure about this :
     log4.categroy.httpclient.wire.header = DEBUG

this works on the log4j.xml and the statement is

<category name="httpclient.wire.header" >   <priority value="DEBUG" />
</category>

On 6/29/06, Eugeny N Dzhurinsky <bofh@redwerk.com> wrote:
>
> Hi, I'm using Log4J in my application.
> I added
> log4j.logger.httpclient.wire.header=DEBUG
> log4j.logger.org.apache.commons.httpclient=DEBUG
>
> to log4j.properties file, but I still can't see HTTP headers.
> Any ideas why is that?
> Here is my log4j.properties.file below:
>
> log4j.rootLogger=DEBUG, stdout, file
> log4j.appender.stdout=org.apache.log4j.ConsoleAppender
> log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
> log4j.appender.stdout.layout.ConversionPattern=%5p %d{dd/mm/yy hh:mm:ss}
> [%t] (%C{1}:%L) - %m%n
> log4j.appender.file=org.apache.log4j.RollingFileAppender
> log4j.appender.file.File=monitor.log
> log4j.appender.file.MaxFileSize=10MB
> log4j.appender.file.MaxBackupIndex=3
> log4j.appender.file.layout=org.apache.log4j.PatternLayout
> log4j.appender.file.layout.ConversionPattern=%5p %d{dd/mm/yy hh:mm:ss}
> [%t] (%C{1}:%L) - %m%n
> log4j.logger.org.pdfbox=ERROR
> log4j.logger.httpclient.wire.header=DEBUG
> log4j.logger.org.apache.commons.httpclient=DEBUG
> --
> Eugene N Dzhurinsky
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
>

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