You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@wink.apache.org by "Shukrun, Eytan" <ey...@hp.com> on 2009/10/05 15:04:35 UTC

WINK Trace log

hey Guys does anyone knows how to turn on wink logs and debug trace?

Re: WINK Trace log

Posted by Michael Elman <el...@apache.org>.
Some explanation:
slf4j-api-1.5.8.jar is used by Wink directly. This jar provides a facade for
logging.

slf4j-jdk14-1.5.8.jar is a bridge to JDK logger. Probably Websphere uses JDK
logger, so it worked for you.

Applications that use Log4j should put slf4j-log4j.jar.

slf4j-simple.jar is a simple logger that wink includes to make examples work
without additional logging framework required. It should be removed if such
a framework is used.

There are additional loggers and bridges, so it's better to refer to
http://slf4j.org/ for more details.


On Mon, Oct 5, 2009 at 5:49 PM, Wendy C Raschke <wr...@us.ibm.com> wrote:

> I am running Wink in WebSphere.
>
> In addition to configuring WebSphere to generate trace, I had to add these
> files to my application WAR:
>
> WEB-INF/lib/slf4j-jdk14-1.5.8.jar
> WEB-INF/lib/slf4j-api-1.5.8.jar
>
> Thank you,
> Wendy
> >^. .^< ~ -- Ciao and Meow
>
> [image: Inactive hide details for Michael Elman <el...@apache.org>]Michael
> Elman <el...@apache.org>
>
>
>
>     *Michael Elman <el...@apache.org>*
>
>             10/05/2009 10:39 AM
>             Please respond to
>             wink-user@incubator.apache.org
>
>
> To
>
> wink-user@incubator.apache.org
> cc
>
>
> Subject
>
> Re: WINK Trace log
> ok: do the following:
> Remove slf4j-simple.jar from the classpath.
> Add slf4j-log4j.jar to the classpath (you may need to download slf4j)
>
> if you use log4j.xml add
>     <logger name="org.apache.wink" >
>         <level value="debug"></level>
>     </logger>
>
> if you use log4j.properties, add
>
> log4j.category.org.apache.wink=debug
>
> On Mon, Oct 5, 2009 at 5:29 PM, Shukrun, Eytan <*e...@hp.com>>
> wrote:
> >
> > log4j
> > ________________________________
> > From: Michael Elman [mailto:*elman@apache.org* <el...@apache.org>]
> > Sent: Monday, October 05, 2009 5:29 PM
> > To: *wink-user@incubator.apache.org* <wi...@incubator.apache.org>
> > Subject: Re: WINK Trace log
> >
> > What logging framework do you use for your application?
> >
> > On Mon, Oct 5, 2009 at 3:04 PM, Shukrun, Eytan <*e...@hp.com>>
> wrote:
> >>
> >> hey Guys does anyone knows how to turn on wink logs and debug trace?
>
>

Re: WINK Trace log

Posted by Wendy C Raschke <wr...@us.ibm.com>.
I am running Wink in WebSphere.

In addition to configuring WebSphere to generate trace, I had to add these
files to my application WAR:

WEB-INF/lib/slf4j-jdk14-1.5.8.jar
WEB-INF/lib/slf4j-api-1.5.8.jar

Thank you,
Wendy
>^. .^< ~  -- Ciao and Meow



                                                                           
             Michael Elman                                                 
             <elman@apache.org                                             
             >                                                          To 
                                       wink-user@incubator.apache.org      
             10/05/2009 10:39                                           cc 
             AM                                                            
                                                                   Subject 
                                       Re: WINK Trace log                  
             Please respond to                                             
             wink-user@incubat                                             
               or.apache.org                                               
                                                                           
                                                                           
                                                                           




ok: do the following:
Remove slf4j-simple.jar from the classpath.
Add slf4j-log4j.jar to the classpath (you may need to download slf4j)

if you use log4j.xml add
    <logger name="org.apache.wink" >
        <level value="debug"></level>
    </logger>

if you use log4j.properties, add

log4j.category.org.apache.wink=debug

On Mon, Oct 5, 2009 at 5:29 PM, Shukrun, Eytan <ey...@hp.com>
wrote:
>
> log4j
> ________________________________
> From: Michael Elman [mailto:elman@apache.org]
> Sent: Monday, October 05, 2009 5:29 PM
> To: wink-user@incubator.apache.org.
> Subject: Re: WINK Trace log
>
> What logging framework do you use for your application?
>
> On Mon, Oct 5, 2009 at 3:04 PM, Shukrun, Eytan <ey...@hp.com>
wrote:
>>
>> hey Guys does anyone knows how to turn on wink logs and debug trace?

RE: WINK Trace log

Posted by "Shukrun, Eytan" <ey...@hp.com>.
thanks

________________________________
From: Michael Elman [mailto:elman@apache.org]
Sent: Monday, October 05, 2009 5:40 PM
To: wink-user@incubator.apache.org
Subject: Re: WINK Trace log

ok: do the following:
Remove slf4j-simple.jar from the classpath.
Add slf4j-log4j.jar to the classpath (you may need to download slf4j)

if you use log4j.xml add
    <logger name="org.apache.wink" >
        <level value="debug"></level>
    </logger>

if you use log4j.properties, add

log4j.category.org.apache.wink=debug

On Mon, Oct 5, 2009 at 5:29 PM, Shukrun, Eytan <ey...@hp.com>> wrote:
>
> log4j
> ________________________________
> From: Michael Elman [mailto:elman@apache.org<ma...@apache.org>]
> Sent: Monday, October 05, 2009 5:29 PM
> To: wink-user@incubator.apache.org<ma...@incubator.apache.org>
> Subject: Re: WINK Trace log
>
> What logging framework do you use for your application?
>
> On Mon, Oct 5, 2009 at 3:04 PM, Shukrun, Eytan <ey...@hp.com>> wrote:
>>
>> hey Guys does anyone knows how to turn on wink logs and debug trace?


Re: WINK Trace log

Posted by Michael Elman <el...@apache.org>.
ok: do the following:
Remove slf4j-simple.jar from the classpath.
Add slf4j-log4j.jar to the classpath (you may need to download slf4j)

if you use log4j.xml add
    <logger name="org.apache.wink" >
        <level value="debug"></level>
    </logger>

if you use log4j.properties, add

log4j.category.org.apache.wink=debug

On Mon, Oct 5, 2009 at 5:29 PM, Shukrun, Eytan <ey...@hp.com> wrote:
>
> log4j
> ________________________________
> From: Michael Elman [mailto:elman@apache.org]
> Sent: Monday, October 05, 2009 5:29 PM
> To: wink-user@incubator.apache.org
> Subject: Re: WINK Trace log
>
> What logging framework do you use for your application?
>
> On Mon, Oct 5, 2009 at 3:04 PM, Shukrun, Eytan <ey...@hp.com>
wrote:
>>
>> hey Guys does anyone knows how to turn on wink logs and debug trace?

RE: WINK Trace log

Posted by "Shukrun, Eytan" <ey...@hp.com>.
log4j

________________________________
From: Michael Elman [mailto:elman@apache.org]
Sent: Monday, October 05, 2009 5:29 PM
To: wink-user@incubator.apache.org
Subject: Re: WINK Trace log

What logging framework do you use for your application?

On Mon, Oct 5, 2009 at 3:04 PM, Shukrun, Eytan <ey...@hp.com>> wrote:
hey Guys does anyone knows how to turn on wink logs and debug trace?


Re: WINK Trace log

Posted by Michael Elman <el...@apache.org>.
What logging framework do you use for your application?

On Mon, Oct 5, 2009 at 3:04 PM, Shukrun, Eytan <ey...@hp.com> wrote:

>  hey Guys does anyone knows how to turn on wink logs and debug trace?
>