Pretty sure you wanna add:

log4j.additivity.org.apache.struts.tiles=false

Hope that's the right properties file syntax, I usually use XML...

Quoting Eddie Bush <[EMAIL PROTECTED]>:

> You really should be able to get such examples off the components' 
> respective sites, but, seeing as how folks seem to have problems with 
> this ... here you go :-)
> 
> log4j.properties <---
> log4j.rootLogger=DEBUG,A1
> log4j.logger.org.apache.struts.tiles=WARN
> 
> # A1 is set to be a ConsoleAppender.
> log4j.appender.A1=org.apache.log4j.ConsoleAppender
> 
> # A1 uses PatternLayout.
> log4j.appender.A1.layout=org.apache.log4j.PatternLayout
> log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
> 
> commons-logging.properties <---
> org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory
> 
> The commons-logging.properties file says "Hey, commons-logging, I'm 
> using Log4J as my logging implementation!".  From there, you just need 
> to configure Log4J to your needs.  If you need more sophisticated 
> control over Log4J, see the Log4J site:  http://jakarta.apache.org/log4j
> 
> Enjoy! ;-)
> 
> Rieberger, Dale wrote:
> 
> >Need an example of a commons-logging.properties and log4j.properties
> files.
> >
> 
> -- 
> Eddie Bush
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to