dev@glassfish.java.net

Re: jersey-client info is filling up my server.log

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 07 Jun 2010 15:02:52 +0200

On Jun 7, 2010, at 2:58 PM, Jason Lee wrote:

> On 6/7/10 2:11 AM, Paul Sandoz wrote:
>> Hi Anissa,
>>
>> It is recommended not to create a new Client instance every time
>> you need to make a request. This object is expensive to create, so
>> it is best to create it once and reuse it. Then you will not get
>> such repeated logging output.
> Thanks, Paul. I've updated that code.
>

Great. The Client is thread safe after it has been configured and
filters added, same for any WebResource obtained from Client.

In any case i think i am going to remove the logging output related to
the jersey-multipart component. It is annoying and does not really aid
the developer.

Paul.