Alright.  It is too bad that Category does not expose support to detect when
levels change, such that a helper object could cache this value and not
affect the dynamic nature of the system as a whole.

--jason


On Wed, 15 Aug 2001, Scott M Stark wrote:

> Caching the values destroys the dynamic filtering capability of the logging
> system. The cost of the check is trivial compared to all the other stuff
> going
> on in any call to JBoss so unless you have a profile showing this is a
> hotspot
> it doesn't make sense to cache these values.
>
> ----- Original Message -----
> From: "Jason Dillon" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 14, 2001 6:40 PM
> Subject: RE: [JBoss-dev] Jaws debug mode
>
>
> > > What do you think about <call-logging> of standardjoss.xml, should we
> remove
> > > this too ?
> >
> > Probably.
> >
> > Does anyone know what the cost of the isXXXEnabled() methods are?  Should
> we
> > define booleans after Category creation, that can cache these values to
> > improve speed, or just keep calling isXXXEnabled() each time?
> >
> > --jason
> >
> >
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-development
> >
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
>


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to