ntley
> -Original Message-
> From: Giacomo Pati [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 27 August 2001 11:56 PM
> To: [EMAIL PROTECTED]
> Subject: Re: How to log from a Java class ?
>
>
> Quoting Cyril Cambien <[EMAIL PROTECTED]>:
>
> > I understand
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
yourClassInstance.setL
I'd recommend looking at Trunk (http://www.openinstitute.org/trunk/). This
API allows you to have plugable logging drivers such as Logkit (which cocoon
uses), Log4j, JDK1.4, etc.
Regards,
Jon
- Original Message -
From: "Cyril Cambien" <[EMAIL PROTECTED]>
To: "Cocoon users" <[EMAIL PROT