[slf4j-dev] [Bug 106] Obtaining a logger before loggerFactory is assigned
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Thu Oct 16 15:48:14 CEST 2008
http://bugzilla.slf4j.org/show_bug.cgi?id=106
Zoltan Szel <zoli.szel at morganstanley.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zoli.szel at morganstanley.com
--- Comment #1 from Zoltan Szel <zoli.szel at morganstanley.com> 2008-10-16 15:48:14 ---
Hi,
i would like to add my two cents here: Instead of giving out a NOP logger
during initialization which will not log anything i would suggest the
following:
Creating a Bootstrap logger which is a kind of proxy object.
* Until the logger factory is not initialized it would log to stderr
* When the initialization of the logger factory has happened than these
loggers would be notified
* The Bootstrap logger now will ask the real loggerfactory for a logger
with the same name and delegates all calls to it.
Regards,
Zoltan
--
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the slf4j-dev
mailing list