logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Smith <paul.sm...@lawlex.com.au>
Subject Re: 1.3 Alpha Plan?
Date Thu, 18 Sep 2003 22:18:52 GMT
> The idea is to have listeners attach to the hierarchy (or logger 
> repository). Each time a logger changes its level, or appenders are 
> attached/detached from it tells its hierarchy to notify the listeners. 
> (Listeners are per hierarchy not per logger).
> Events of interests are:
> - hierarchy threshold change
> - logger creation,
> - logger change (level, appender)
> - appender change (Appenders tell the hierarchy to notify listeners. Thus, 
> appender have to have know the hierarchy where they belong. to It is up to 
> the appender to decide when to tell the hierarchy to notify listeners.)

Ahh, I see, so will the sequence be something like:

* call to Logger.setLevel(...)
* Logger informs it's repository of change (PropertyChange?)
* Repository notifies listeners of change.


To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org

View raw message