RE: How to log from a Java class ?

2001-08-29 Thread Bentley, Tim
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

Re: How to log from a Java class ?

2001-08-27 Thread Giacomo Pati
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

Re: How to log from a Java class ?

2001-08-27 Thread Jon Peterson
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