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

Reply via email to