Kees Jongenburger <[EMAIL PROTECTED]> wrote: > pre 1.7 this was required. > We now have a loggerWrapper that is returned by Logging.getLoggerInstance > this wrapper makes it possible to configurere logging after the logger was aquired > > so now it's possible to use the "conventional" > private static Logger log = Logging.getLoggerInstance(BridgeServlet.class); > even in classes that start mmbase
Thank you for reporting my improvement, I nearly forgot myself that I made this change. I might add that the Logger is only wrapped if it is instantiated before Logging is configured. This to avoid all extra overhead. Practicly this means that you need not worry about the issue any more. This does however mean that the logging implementation itself cannot be changed any more after that it is configured (you can only change configuration). I figured that this possibility was not worth it to wrap every single logger (causing an extra function call on every call on log). Michiel -- Michiel Meeuwissen Mediapark C101 Hilversum +31 (0)35 6772979 nl_NL eo_XX en_US mihxil' [] ()
