I don't understand the relationship between this setting and those in the log4j.properties. So do you have any idea whether setting the logger-level in the Domain.xml causes a performance hit? Ie. by enabling "level 7" logging paths in the Slide server that would normally be skipped over?
I'm wondering whether I should leave this setting at level 7 on a running system, or whether it will slow the server down. Or if I set the logging-level lower eg. "1" will I still be able to get more verbose levels of trace out of the server by changing log4j.properties? Thanks, Warwick > -----Original Message----- > From: Stefan Lützkendorf [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 09, 2004 12:04 PM > To: Slide Users Mailing List > Subject: Re: Enabling Logging > > > Hi Warwick, > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]