cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hong Gia Dinh <>
Subject RE: Debug
Date Tue, 18 Feb 2003 01:42:43 GMT
normally in sitemap.log in the Web-inf/log directory (if you dont define the
logfile in the sitemap)or 
in logfile.log you declare in the sitemap.xmap .
-----Original Message-----
From: Mustafa Ali, Halgurt []
Sent: 17 February 2003 18:01
Subject: AW: Debug

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 [] 
Gesendet: Montag, 17. Februar 2003 10:51
Betreff: RE: Debug
in the page you want to debug , dont forget to add the namespace :
<xmlns:log= <> >
    then you can use :
    <log:debug>This is debug Line 1 </log:debug>
    and for codes :
    int i= 4;
    getLogger()debug("This variable is : "+i); (for example)
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"/>
try it!!!
-----Original Message-----
From: Mustafa Ali, Halgurt []
Sent: 17 February 2003 16:21
Subject: Debug
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,

View raw message