cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hong Gia Dinh <hgd...@sdcgrp.com>
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 [mailto:MustafaAli@docomolab-euro.com]
Sent: 17 February 2003 18:01
To: cocoon-users@xml.apache.org
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 [mailto:hgdinh@sdcgrp.com] 
Gesendet: Montag, 17. Februar 2003 10:51
An: cocoon-users@xml.apache.org
Betreff: RE: Debug
 
in the page you want to debug , dont forget to add the namespace :
<xmlns:log= http://apache.org/xsp/log/2.0 <http://apache.org/xsp/log/2.0> >
    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:MustafaAli@docomolab-euro.com]
Sent: 17 February 2003 16:21
To: cocoon-users@xml.apache.org
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

Mime
View raw message