admin@glassfish.java.net

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

From: Anissa Lam <anissa.lam_at_oracle.com>
Date: Mon, 07 Jun 2010 08:00:30 -0700

Thank you both for quickly respond to the issue. Appreciate that.

Anissa.

Paul Sandoz wrote:
>
> 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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>