You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by "Roman Bäriswyl (JIRA)" <ji...@apache.org> on 2017/09/08 13:37:00 UTC

[jira] [Created] (LOG4NET-574) LogicalThreadContextProperties uses CallContext.GetData and not CallContext.LogicalGetData

Roman Bäriswyl created LOG4NET-574:
--------------------------------------

             Summary: LogicalThreadContextProperties uses CallContext.GetData and not CallContext.LogicalGetData
                 Key: LOG4NET-574
                 URL: https://issues.apache.org/jira/browse/LOG4NET-574
             Project: Log4net
          Issue Type: Improvement
            Reporter: Roman Bäriswyl


As the title says, the {{LogicalThreadContextProperties}} uses {{CallContext.GetData}} and not {{CallContext.LogicalGetData}}. The latter one can be handy if used in async environments (see http://blog.stephencleary.com/2013/04/implicit-async-context-asynclocal.html).

I'm not sure if the {{LogicalThreadContextProperties}} should be changed to {{LogicalGetData}} or if another {{*Properties}} object should be created with the {{LogicalGetData}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)