On Fri, 2003-08-15 at 07:49, Larry Young wrote:
> Ceki,
> 
>          That's an interesting way of looking at logger types!  But how 
> would that allow me to enable/disable log messages for a particular 
> class?  One of the features I need is the ability to specify that a 
> particular class should display a particular type of log message (or 
> possibly more than one).  This would appear to only let me set the message 
> type system wide.  Did I miss something?

No, you haven't missed anything, it would set the types system wide, and
allow you to specify the level system wide, but if that was not granular
enough, can't you specific a particular Filter for your appender?  (i.e
all classes logging to the DB logger, but you filter for a particular
class).

I'm sure you could write yourself a Filter sub-class very quickly and
attach it to an Appender via the configuration.   You could configure
this Filter impl with some configuration as to what classes you want to
see output.

Hope that makes sense.

cheers,

Paul Smith



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to