Quoting Cyril Cambien <[EMAIL PROTECTED]>:

> I understand how to log from a xsp file using the log.xsl logicsheet but
> what is the best way to log information from the Java classes called
> from my xsp files ?

Make them implement Loggable and pass the logger to them 

    <xsp:logic>yourClassInstance.setLogger(getLogger());</xsp:logic>

Giacomo

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

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

Reply via email to