{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1597","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1597/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1597/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1597/events","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1597","id":93812021,"number":1597,"title":"CallContext.LogicalSetData issue","user":{"login":"refref","id":5878480,"avatar_url":"https://avatars.githubusercontent.com/u/5878480?v=3","gravatar_id":"","url":"https://api.github.com/users/refref","html_url":"https://github.com/refref","followers_url":"https://api.github.com/users/refref/followers","following_url":"https://api.github.com/users/refref/following{/other_user}","gists_url":"https://api.github.com/users/refref/gists{/gist_id}","starred_url":"https://api.github.com/users/refref/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refref/subscriptions","organizations_url":"https://api.github.com/users/refref/orgs","repos_url":"https://api.github.com/users/refref/repos","events_url":"https://api.github.com/users/refref/events{/privacy}","received_events_url":"https://api.github.com/users/refref/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-07-08T15:00:56Z","updated_at":"2015-07-09T07:46:37Z","closed_at":null,"body":"Hello,\r\n\r\ni set some data to CallContext, which i want to use later in logging.\r\n\r\npublic class Startup\r\n{\r\n\t\tpublic void Configuration(IAppBuilder app)\r\n\t\t{\r\n\t\t\tapp.Use((env, next) =>\r\n\t\t\t{\r\n\t\t\t\tCallContext.LogicalSetData(\"somekey\",\"somevalue\");\r\n\t\t\t\treturn next();\r\n\t\t\t});\r\n                        ....\t\t\r\n                        app.UseIdentityServer(options);\r\n               }\r\n}\r\n\r\nwhen i want to access this data later in Log method of my custom Logger using following statement, i get null:\r\nCallContext.LogicalGetData(\"somekey\");\r\n\r\n\r\nThis problem happens only with thinktecture. I use same procedure with another project, which also use owin, autofac, webapi staff, it works perfectly."},"comment":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/comments/119858643","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1597#issuecomment-119858643","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1597","id":119858643,"user":{"login":"leastprivilege","id":1454075,"avatar_url":"https://avatars.githubusercontent.com/u/1454075?v=3","gravatar_id":"","url":"https://api.github.com/users/leastprivilege","html_url":"https://github.com/leastprivilege","followers_url":"https://api.github.com/users/leastprivilege/followers","following_url":"https://api.github.com/users/leastprivilege/following{/other_user}","gists_url":"https://api.github.com/users/leastprivilege/gists{/gist_id}","starred_url":"https://api.github.com/users/leastprivilege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leastprivilege/subscriptions","organizations_url":"https://api.github.com/users/leastprivilege/orgs","repos_url":"https://api.github.com/users/leastprivilege/repos","events_url":"https://api.github.com/users/leastprivilege/events{/privacy}","received_events_url":"https://api.github.com/users/leastprivilege/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T07:46:37Z","updated_at":"2015-07-09T07:46:37Z","body":"I don't know."}}