I use this way: setting the logger-level to "7" (the highest one I think) in domain.xml and configure the "real" verbosity in log4j.properties.
e.g. to set the general level to INFO but for a special package to DEBUG log4j.rootCategory=INFO,stdout,R log4j.category.org.apache.slide.index.lucene=DEBUG
Stefan
Warwick Burrows wrote:
Stefan,
How does the logger-level setting in Domain.xml control the actual logging output? Can the "logger-level" be set in the log4j.properties instead? I'd like to control the verbosity of output from log4j from within the log4j.properties which is currently reread dynamically from the classes dir while my app is running. So can I omit log-level from here but leave the logger parameter in place. I don't think that Domain.xml is dynamically reread by Slide while its running is it?
Thanks, Warwick
-----Original Message-----
From: Stefan L�tzkendorf [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 9:55 AM
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]
-- Stefan L�tzkendorf -- [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
