logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: 1.3 Alpha Plan?
Date Fri, 19 Sep 2003 07:47:06 GMT
At 08:18 AM 9/19/2003 +1000, you wrote:
> > 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.

Yes, absolutely.

>Paul

-- 
Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp

      import org.apache.Facetime;
      ApacheCon US 2003, 18-21 November http://apachecon.com/



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


Mime
View raw message