[slf4j-dev] Transactions in slf4j?

Joern Huxhorn jhuxhorn at googlemail.com
Mon Jun 1 21:21:52 CEST 2009


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

Regards,
Joern.


More information about the slf4j-dev mailing list