admin@glassfish.java.net

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

From: Carla Mott <carla.mott_at_oracle.com>
Date: Fri, 04 Jun 2010 14:58:01 -0700

Seems like a bug. Please write one so it can be investigated.

carla

Anissa Lam wrote:
>
> Thanks Carla, It works, although the message is still given out at
> the very first click on the GUI screen that uses it. But thats
> acceptable for now. Is this a bug that although the log level is set
> to WARNING, it still gives out "INFO" level message ?
>
> thanks
> Anissa.
>
> Carla Mott wrote:
>> try
>> com.sun.jersey.api.client.Client.level=WARNING
>>
>> Anissa Lam wrote:
>>> Hi,
>>>
>>> We are using the jersey client as we are converting the GUI to use
>>> REST API. However, every click on the GUI will produce this log in
>>> server.log:
>>>
>>> [#|2010-06-04T13:54:18.239-0700|INFO|glassfish3.1|com.sun.jersey.api.client.Client|_ThreadID=33;_ThreadName=http-thread-pool-4848(2);|Adding
>>> the following classes declared in
>>> META-INF/services/jersey-client-components to the client configuration:
>>> class com.sun.jersey.multipart.impl.MultiPartConfigProvider
>>> class com.sun.jersey.multipart.impl.MultiPartReader
>>> class com.sun.jersey.multipart.impl.MultiPartWriter|#]
>>>
>>> my server.log file is huge now.
>>> How can i stop that ? I tried adding
>>> com.sun.jersey.api.client.Client=warn
>>>
>>> to config/logging.properties file, restart, but doesn't help.
>>>
>>> Any advice ?
>>>
>>> thanks
>>> Anissa
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>