Hi,
Yup, makes sense.  I looked at the example actions and the ones in
log4j/joran/action.  I kept thinking how nice it'd be if Digester didn't have
any dependencies ;)

Yoav

--- Ceki G�lc� <[EMAIL PROTECTED]> wrote:

> At 09:03 PM 12/7/2004, Yoav Shapira wrote:
> 
> >Why must Joran actions have a logger per instance, out of curiosity?
> 
> Well, it is preferable to have the logs go the repository being
> currently configured. If log4j.jar is in common/lib, an Action's
> static Logger will be loaded once. Consequently, that static logger is
> very likely be attached to the default logger repository instead of
> the repository currently being acted upon (by the Action).
> 
> Make sense?
> 
> I assume you looked at the actions in /examples/joran, correct?
> 
> >Yoav Shapira http://www.yoavshapira.com
> 
> -- 
> Ceki G�lc�
> 
>   The complete log4j manual:  http://qos.ch/log4j/  
> 
> 
> 
> ---------------------------------------------------------------------
> 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