Wink Info Logging

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Wink Info Logging

Mack71

Hello:

I am running a sample application using Wink 1.1.3 to explore Jackson. I use the following environment [not sure the environment can relevant to my question, however; in case if it is ]

IDE : Rational Application Developer V7.5
Server : WebSphere Application Server V7.0.0.17

Additionally I have the Wink JSON Jackson extension in my lib directory with the Jackson library that is shipped with WebSphere V8 (com.ibm.ws.prereq.jackson.jar)

When I run the application, for every request I get the following in the log and I was wondering what it means [if I am doing anything wrong] and since it is INFO how I can turn it off at the application level. I am aware that I can do this through WebSphere Admin console by going to logs and traces and then trun off the log for related packages but I do not want to impose and extra level of configuration. Below are the log info:

[23/06/11 15:57:53:134 EDT] 00000003 SystemErr     R 51 [Deferrable Alarm : 0] INFO org.apache.wink.server.internal.servlet.RestServlet - The system is using the com.ibm.developerworks.winkJackson.WinkApplication JAX-RS application class that is named in the javax.ws.rs.Application init-param initialization parameter.
[23/06/11 15:57:53:242 EDT] 00000003 SystemErr     R 158 [Deferrable Alarm : 0] INFO org.apache.wink.server.internal.application.ApplicationProcessor - The following JAX-RS application has been processed: com.ibm.developerworks.winkJackson.WinkApplication
[23/06/11 15:57:53:243 EDT] 00000003 SystemErr     R 160 [Deferrable Alarm : 0] INFO org.apache.wink.server.internal.log.Resources - The server has registered the JAX-RS resource class com.ibm.developerworks.winkJackson.HelloWorlds with @Path(hello).
[23/06/11 15:57:53:244 EDT] 00000003 SystemErr     R 161 [Deferrable Alarm : 0] INFO org.apache.wink.server.internal.log.Providers - There are no custom JAX-RS providers defined in the application.
[23/06/11 15:57:53:286 EDT] 00000003 SystemErr     R 203 [Deferrable Alarm : 0] INFO org.apache.wink.common.internal.application.ApplicationFileLoader - The runtime is loading the JAX-RS application from wsjar:file:/C:/projects/rest/wink/winkIBMJackson/winkJackson/WebContent/WEB-INF/lib/wink-jackson-provider-1.1.3-incubating.jar!/META-INF/wink-application

     
Reply | Threaded
Open this post in threaded view
|

Re: Wink Info Logging

Bryant Luk
Hi,

Hmm Apache Wink should only log those those messages once per
deployment/application start. Are you sure you get them for every
single request?

On Thu, Jun 23, 2011 at 3:11 PM, Paulo Borges <[hidden email]> wrote:

>
> Hello:
>
> I am running a sample application using Wink 1.1.3 to explore Jackson. I use the following environment [not sure the environment can relevant to my question, however; in case if it is ]
>
> IDE : Rational Application Developer V7.5
> Server : WebSphere Application Server V7.0.0.17
>
> Additionally I have the Wink JSON Jackson extension in my lib directory with the Jackson library that is shipped with WebSphere V8 (com.ibm.ws.prereq.jackson.jar)
>
> When I run the application, for every request I get the following in the log and I was wondering what it means [if I am doing anything wrong] and since it is INFO how I can turn it off at the application level. I am aware that I can do this through WebSphere Admin console by going to logs and traces and then trun off the log for related packages but I do not want to impose and extra level of configuration. Below are the log info:
>
> [23/06/11 15:57:53:134 EDT] 00000003 SystemErr     R 51 [Deferrable Alarm : 0] INFO org.apache.wink.server.internal.servlet.RestServlet - The system is using the com.ibm.developerworks.winkJackson.WinkApplication JAX-RS application class that is named in the javax.ws.rs.Application init-param initialization parameter.
> [23/06/11 15:57:53:242 EDT] 00000003 SystemErr     R 158 [Deferrable Alarm : 0] INFO org.apache.wink.server.internal.application.ApplicationProcessor - The following JAX-RS application has been processed: com.ibm.developerworks.winkJackson.WinkApplication
> [23/06/11 15:57:53:243 EDT] 00000003 SystemErr     R 160 [Deferrable Alarm : 0] INFO org.apache.wink.server.internal.log.Resources - The server has registered the JAX-RS resource class com.ibm.developerworks.winkJackson.HelloWorlds with @Path(hello).
> [23/06/11 15:57:53:244 EDT] 00000003 SystemErr     R 161 [Deferrable Alarm : 0] INFO org.apache.wink.server.internal.log.Providers - There are no custom JAX-RS providers defined in the application.
> [23/06/11 15:57:53:286 EDT] 00000003 SystemErr     R 203 [Deferrable Alarm : 0] INFO org.apache.wink.common.internal.application.ApplicationFileLoader - The runtime is loading the JAX-RS application from wsjar:file:/C:/projects/rest/wink/winkIBMJackson/winkJackson/WebContent/WEB-INF/lib/wink-jackson-provider-1.1.3-incubating.jar!/META-INF/wink-application
>
>
Reply | Threaded
Open this post in threaded view
|

RE: Wink Info Logging

Mack71

Bryant:

Thanks for your prompt reply. I had those logs all over which gave me the impression it is logged everytime. Paying more attention, it seems they were the result of continuous change and publishing to the Server throught RAD which results in application stop and start and consequently a log for entry. Thanks for clarifying

----------------------------------------

> From: [hidden email]
> Date: Thu, 23 Jun 2011 15:34:20 -0500
> Subject: Re: Wink Info Logging
> To: [hidden email]
>
> Hi,
>
> Hmm Apache Wink should only log those those messages once per
> deployment/application start. Are you sure you get them for every
> single request?
>
> On Thu, Jun 23, 2011 at 3:11 PM, Paulo Borges <[hidden email]> wrote:
> >
> > Hello:
> >
> > I am running a sample application using Wink 1.1.3 to explore Jackson. I use the following environment [not sure the environment can relevant to my question, however; in case if it is ]
> >
> > IDE : Rational Application Developer V7.5
> > Server : WebSphere Application Server V7.0.0.17
> >
> > Additionally I have the Wink JSON Jackson extension in my lib directory with the Jackson library that is shipped with WebSphere V8 (com.ibm.ws.prereq.jackson.jar)
> >
> > When I run the application, for every request I get the following in the log and I was wondering what it means [if I am doing anything wrong] and since it is INFO how I can turn it off at the application level. I am aware that I can do this through WebSphere Admin console by going to logs and traces and then trun off the log for related packages but I do not want to impose and extra level of configuration. Below are the log info:
> >
> > [23/06/11 15:57:53:134 EDT] 00000003 SystemErr     R 51 [Deferrable Alarm : 0] INFO org.apache.wink.server.internal.servlet.RestServlet - The system is using the com.ibm.developerworks.winkJackson.WinkApplication JAX-RS application class that is named in the javax.ws.rs.Application init-param initialization parameter.
> > [23/06/11 15:57:53:242 EDT] 00000003 SystemErr     R 158 [Deferrable Alarm : 0] INFO org.apache.wink.server.internal.application.ApplicationProcessor - The following JAX-RS application has been processed: com.ibm.developerworks.winkJackson.WinkApplication
> > [23/06/11 15:57:53:243 EDT] 00000003 SystemErr     R 160 [Deferrable Alarm : 0] INFO org.apache.wink.server.internal.log.Resources - The server has registered the JAX-RS resource class com.ibm.developerworks.winkJackson.HelloWorlds with @Path(hello).
> > [23/06/11 15:57:53:244 EDT] 00000003 SystemErr     R 161 [Deferrable Alarm : 0] INFO org.apache.wink.server.internal.log.Providers - There are no custom JAX-RS providers defined in the application.
> > [23/06/11 15:57:53:286 EDT] 00000003 SystemErr     R 203 [Deferrable Alarm : 0] INFO org.apache.wink.common.internal.application.ApplicationFileLoader - The runtime is loading the JAX-RS application from wsjar:file:/C:/projects/rest/wink/winkIBMJackson/winkJackson/WebContent/WEB-INF/lib/wink-jackson-provider-1.1.3-incubating.jar!/META-INF/wink-application
> >
> >
     
Reply | Threaded
Open this post in threaded view
|

Re: Wink Info Logging

Siddhesh
In reply to this post by Mack71
Hi,

Getting similar messages once I start the application and not when the request is made to the specified path. Any suggestions on how to resolve this?

Thanks in advance.
Reply | Threaded
Open this post in threaded view
|

Re: Wink Info Logging

omere
This post has NOT been accepted by the mailing list yet.
In reply to this post by Mack71
Reply | Threaded
Open this post in threaded view
|

Re: Wink Info Logging

Rapstop
This post has NOT been accepted by the mailing list yet.
In reply to this post by Mack71