Hi Warwick

The log4j-1.2.8.jar is in my classpath and is used by other classes in my
deployment.  I think that the logger that you define in the domain.xml file
has to implement the org.apache.slide.util.logger.Logger interface and so
the standard org.apache.log4j.Logger cannot be used directly.

Andy

-----Original Message-----
From: Warwick Burrows [mailto:[EMAIL PROTECTED]
Sent: 09 November 2004 16:34
To: 'Slide Users Mailing List'
Subject: RE: Enabling Logging



You may need to copy the log4j-1.2.8.jar file from your Slide dist to
tomcat/common/lib.

I can't say for sure that this is the problem though as I have other logger
load problems right now and can't verify it myself :-)

Warwick


> -----Original Message-----
> From: Andy Bowes [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, November 09, 2004 10:18 AM
> To: 'Slide Users Mailing List'
> Subject: RE: Enabling Logging
> 
> 
> Hi Stefan
> 
> I made the changes that you suggested but I get a
> java.lang.ClassNotFoundException: log4j.Log4jLogger.
> 
> I changed this to use the 
> "org.apache.slide.util.logger.jdk14.Jdk14Logger"
> but this does not seem to read the log4j.properties file that 
> is in my class path.
> 
> regards
> 
> Andy
> 
> -----Original Message-----
> From: Stefan Lützkendorf [mailto:[EMAIL PROTECTED]
> Sent: 09 November 2004 15:55
> To: Slide Users Mailing List
> Subject: Re: Enabling Logging
> 
> 
> 
> 1.
> add the following to your Domain.xml
> <slide logger="log4j.Log4jLogger" logger-level="7">
> ....
> </slide>
> 
> 2.
> put the log4j.properties to the classes directory of your 
> webapp and configure there what you want to log
> 
> hope this helps,
> Stefan
> 
> 
> Andy Bowes wrote:
> 
> > Hi Guy's
> > 
> > I am trying to track down an issue with the deletion of items.  It 
> > would
> be
> > much easier if I could turn on the debug logging in a specific class
> > ('org.apache.slide.macro.MacroImpl')
> > 
> > Slide seems to use it's own logging classes rather than log4j or 
> > commons-logging.  How do I configure this logging so that I 
> can view 
> > the debug messages that are generated by a specific Slide class or 
> > package ?
> > 
> > Thanks
> > 
> > Andy Bowes
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> -- 
> Stefan Lützkendorf  --  [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

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

Reply via email to