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: [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