cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bart Molenkamp" <b.molenk...@bizzdesign.nl>
Subject RE: [cforms] Alert is not defined
Date Wed, 01 Jun 2005 05:45:01 GMT
Hi Dennis,

Use cocoon.log for logging. E.g.

if (cocoon.log.isDebugEnabled()) {
  cocoon.log.debug("my message");
}

More info is here:
http://cocoon.apache.org/2.1/userdocs/flow/api.html#log

You can configure logging in WEB-INF/logkit.xconf, but I couldn't find
any documentation on that (although I'm sure there is).

Bart.

> -----Oorspronkelijk bericht-----
> Van: dennis_riedel@web.de [mailto:dennis_riedel@web.de]
> Verzonden: dinsdag 31 mei 2005 13:39
> Aan: users@cocoon.apache.org
> Onderwerp: Re: [cforms] Alert is not defined
> 
> Thx to Bart for this introduction!
> Yes, print() is not suitable. I used it for debug purposes.
> Can I use Logger for debugging in Flowscript?
> 
> Greez
> Dennis
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message