Danny,
On Wed, Jun 3, 2009 at 13:53, Danny Gallagher
<[email protected]> wrote:
> Using 3.1
>
>
>
> I cannot seem to get wire logging to produce anything in my log.
>
>
>
> Here is the code:
>
>
>
> FileHandler defaultHandler = new FileHandler(path + "BBD%u.log", 50000,
> 1, true);
>
> Logger.getLogger("").addHandler(defaultHandler);
>
> Logger.getLogger("org.apache.commons.httpclient").setLevel(Level.ALL);
>
>
>
> Logger.getLogger("org.apache.http.wire.level").setLevel(Level.ALL);
>
> Logger.getLogger("org.apache.http.level").setLevel(Level.ALL);
>
You might want to change the two lines above to:
Logger.getLogger("org.apache.http.wire").setLevel(Level.ALL);
Logger.getLogger("org.apache.http").setLevel(Level.ALL);
Basically remove the '.level' from the logger names.
>
>
>
>
> This produces log entries for the classes under
> org.apache.commons.httpclient, but nothing
>
> for data going over the wire.
>
>
>
> I can't seem to figure out what I am missing / not doing correctly.
>
>
>
> Any help is appreciated.
>
>
>
> Thanks
>
HTH
Bindul
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]