At 03:17 PM 6/23/2003 +1000, you wrote:
> Why does using a threshold=off not achieve the same as "pause"?

It does, but for semantics it might be useful to have this 'behaviour', even
if it's implemented by having a Threshold set to  off.  I also agree it's
very blurred.

Could we convert this Pauseable interface then into a Thresholdable? (with
setLevel/getLevel).  From a GUI perspective I can implement pause as setting
Threshold=Off.

If we use this interface, and get Appender/Logger et all all supporting this
interface, then there is nothing to stop us having all the lugin, Category,
and Appender definitions sitting in a nice GUI tree for ease of management.

Please help me understand something. I thought that the Pausible interface was needed to pause/resume plugins. It is not clear to me what pausing/resuming means in case of an appender or a logger.


Is this a case of generalization where generality does not apply? What am I missing?

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]



Reply via email to