Yes, appenders can be attached at multiple places in the hierarchy.  An 
appender can also be attached multiple times to the same logger or on two 
different levels of the hierarchy (for example if you attached A1 to the 
rootLogger), both of which can result in an appender processing the same event 
multiple times.


On Mar 18, 2010, at 10:01 AM, Tasso Angelidis wrote:

> log4j.rootLogger = ERROR, stdout
> log4j.logger.org.jboss = DEBUG, A1
> log4j.logger.ca.xyz = INFO, A1
> 
> A1 is a DaylyRollingFileAppender. Just wondering of both logers can use the 
> same A1 appender.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-user-h...@logging.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to