On 2011-11-27, Andrew Arnott wrote:

> I am successfully using CallContext.LogicalSetData myself for other logical
> thread tracking purposes in my application so I have reason to believe it
> works -- I just don't know why log4net isn't working.  Any ideas?

LogicalThreadContext uses SetData rather than LogicalSetData (the latter
isn't available in .NET 1.x).  Based on no knowledge other than MSDN it
is unclear to me what SetData would do if it didn't work on the logical
thread, but there probably is a reason for having two methods.

Stefan

Reply via email to