>> Use Log.getLogger().isDebugEnabled() for the default logger. > I propose that we use this convention for all logging.
Although I agree in principal, I think there is extra overhead in the cases where you are logging a constant string. If there is any calculation going on on behalf of the logger, then I agree that you should check the enablement first. In fact, in some cases, it may be best to ask once in a method and save the result in a local variable if it is a method that contains many different logging statements. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
