And can you tel me please where can I read the generated information? I did what you told me

 

-----Ursprüngliche Nachricht-----
Von: Hong Gia Dinh [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 17. Februar 2003 10:51
An: [EMAIL PROTECTED]
Betreff: RE: Debug

 

in the page you want to debug , dont forget to add the namespace :

    then you can use :

    <log:debug>This is debug Line 1 </log:debug>

    and for codes :

    <xsp:logic>

    int i= 4;

    getLogger()debug("This variable is : "+i); (for example)

    </xsp:logic>

 

and in the sitemap :

before your transform page :

<map:transform type="log">

    <map:parameter name="logfile" value="logfile.log"/>

    <map:parameter name="append" value="no"/>

</map:transform>

 

try it!!!

goodluck

GD

-----Original Message-----
From: Mustafa Ali, Halgurt [mailto:[EMAIL PROTECTED]]
Sent: 17 February 2003 16:21
To: [EMAIL PROTECTED]
Subject: Debug

Hi@all

 

Can anyone tell me how to debug cocoon und get the debugging information generated? I am using cocoon2 on Win.XP with JDK1.4..

 

Many thanks,

Halgurt

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to