On Mon, 2003-08-11 at 18:32, Ceki Gülcü wrote: > At 06:20 PM 8/11/2003 +1000, you wrote: > >Hey All, > > > >I was wondering if we could also extend the Filtering framework (working > >with the new Filter dialog/framework Scott has mentioned) to allow a few > >more "Quick Filters". > > I must admit that the current filtering framework is geared towards either > removing the event from the incoming stream of events (DENY) or on the > contrary accepting them (ACCEPT). One other possibility is doing nothing > (NEUTRAL). > > I guess we could add the return value "HIDE" to possible set of return > values for Filter.decide(LoggingEvent). > > Would that be enough to do the trick? >
I was thinking of just having 2 filtering chains in the relevant spots. One that discards as early as possible (prior to even getting into the TableModel, and a chain that is used to segment the visible from the hidden. That way there is no code change required in Log4j core.
Yes, it make more sense. Moreover, HIDE would not work...
Paul
-- Ceki For log4j documentation consider "The complete log4j manual" ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
