hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tommmmmm <tommm...@gmail.com>
Subject Re: How to use logging abilities of HttpClient?
Date Tue, 10 Apr 2012 17:53:14 GMT
On 10 April 2012 19:45, Vasile Alin <alinachegalati@gmail.com> wrote:

> Try adding the environment variable -Dlog4j.debug=true so that you can
> see how log4 is configuring itself.
>
>
log4j: Trying to find [log4j.xml] using context classloader
sun.misc.Launcher$AppClassLoader@2827f394.
log4j: Trying to find [log4j.xml] using
sun.misc.Launcher$AppClassLoader@2827f394 class loader.
log4j: Trying to find [log4j.xml] using ClassLoader.getSystemResource().
log4j: Trying to find [log4j.properties] using context classloader
sun.misc.Launcher$AppClassLoader@2827f394.
log4j: Trying to find [log4j.properties] using
sun.misc.Launcher$AppClassLoader@2827f394 class loader.
log4j: Trying to find [log4j.properties] using
ClassLoader.getSystemResource().
log4j: Could not find resource: [null].
log4j: Parsing for [root] with value=[INFO, stdout].
log4j: Level token is [INFO].
log4j: Category root set to INFO
log4j: Parsing appender named "stdout".
log4j: Parsing layout options for "stdout".
log4j: Setting property [conversionPattern] to [%5p [%c] %m%n].
log4j: End of parsing for "stdout".
log4j: Parsed "stdout" options.
log4j: Parsing for [org.apache.http.wire] with value=[DEBUG].
log4j: Level token is [DEBUG].
log4j: Category org.apache.http.wire set to DEBUG
log4j: Handling log4j.additivity.org.apache.http.wire=[null]
log4j: Parsing for [org.apache.http] with value=[DEBUG].
log4j: Level token is [DEBUG].
log4j: Category org.apache.http set to DEBUG
log4j: Handling log4j.additivity.org.apache.http=[null]
log4j: Parsing for [jobManager] with value=[DEBUG].
log4j: Level token is [DEBUG].
log4j: Category jobManager set to DEBUG
log4j: Handling log4j.additivity.jobManager=[null]
log4j: Finished configuring.

A complete.... jibberish. *reading it again and again till something useful
pops into my head*

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