You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@wink.apache.org by Paulo Borges <ab...@hotmail.com> on 2011/06/23 22:11:35 UTC

Wink Info Logging

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

 		 	   		  

Re: Wink Info Logging

Posted by Siddhesh <si...@in.ibm.com>.
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.



--
View this message in context: http://apache-wink-users.3471013.n2.nabble.com/Wink-Info-Logging-tp6509853p7572868.html
Sent from the Apache Wink Users mailing list archive at Nabble.com.

RE: Wink Info Logging

Posted by Paulo Borges <ab...@hotmail.com>.
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: bryant.luk@gmail.com
> Date: Thu, 23 Jun 2011 15:34:20 -0500
> Subject: Re: Wink Info Logging
> To: wink-user@incubator.apache.org
>
> 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 <ab...@hotmail.com> 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
> >
> >
 		 	   		  

Re: Wink Info Logging

Posted by Bryant Luk <br...@gmail.com>.
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 <ab...@hotmail.com> 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
>
>