> 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.
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org
|