[slf4j-dev] Transactions in slf4j?

Thorbjoern Ravn Andersen ravn at runjva.com
Mon Jun 1 21:28:25 CEST 2009


Joern Huxhorn skrev:
>
> On 01.06.2009, at 20:23, Thorbjoern Ravn Andersen wrote:
>
>> Ceki Gulcu skrev:
>>> Hi Thorbjoern,
>>>
>>> You have two tools at your disposal: markes and MDC. Do you think you
>>> could come up with something using those two primitives?
>>
>> Perhaps.  It would need to map into two calls, one when the 
>> transaction begins, and the other when it ends.
>>
>> Is this possible with either?  Is there a listener concept?
>>
>> -- 
>> Thorbjørn Ravn Andersen  "...plus... Tubular Bells!"
>>
>
> I think that would be one of those use cases for an NDC... see 
> http://apps.sourceforge.net/trac/lilith/wiki/NestedDiagnosticContext
Interesting.  But does anything actually happen when the push and pops 
are executed?

-- 
  Thorbjørn Ravn Andersen  "...plus... Tubular Bells!"




More information about the slf4j-dev mailing list