[slf4j-dev] [Bug 176] Initialization (getILoggerFactory) is not thread safe

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Wed Jul 6 15:46:13 CEST 2011


http://bugzilla.slf4j.org/show_bug.cgi?id=176

--- Comment #6 from Timofey Basanov <timofey.basanov at gmail.com> 2011-07-06 15:46:13 CEST ---
Yes, I'm using logback-classic.

But, as far as I understand the bug is in slf4j-api module, not sure how could
you  workaround this through fixing logback-classic, as the problem arises when
several threads call to LoggerFactory.getLogger with no dependence on actual
StaticLoggerBinder implementation:
Two thread simultaneously calls getLogger, and getILoggerFactory later. One of
them sets INITIALIZATION_STATE = ONGOING_INITILIZATION and right after that
another one gets TEMP factory.

-- 
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