{"action":"created","issue":{"url":"https://api.github.com/repos/NLog/NLog/issues/727","labels_url":"https://api.github.com/repos/NLog/NLog/issues/727/labels{/name}","comments_url":"https://api.github.com/repos/NLog/NLog/issues/727/comments","events_url":"https://api.github.com/repos/NLog/NLog/issues/727/events","html_url":"https://github.com/NLog/NLog/issues/727","id":85506650,"number":727,"title":"PostFilteringWrapper  with filter on threadid","user":{"login":"mdissel","id":126084,"avatar_url":"https://avatars.githubusercontent.com/u/126084?v=3","gravatar_id":"","url":"https://api.github.com/users/mdissel","html_url":"https://github.com/mdissel","followers_url":"https://api.github.com/users/mdissel/followers","following_url":"https://api.github.com/users/mdissel/following{/other_user}","gists_url":"https://api.github.com/users/mdissel/gists{/gist_id}","starred_url":"https://api.github.com/users/mdissel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdissel/subscriptions","organizations_url":"https://api.github.com/users/mdissel/orgs","repos_url":"https://api.github.com/users/mdissel/repos","events_url":"https://api.github.com/users/mdissel/events{/privacy}","received_events_url":"https://api.github.com/users/mdissel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NLog/NLog/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-05T10:58:33Z","updated_at":"2015-06-13T21:56:54Z","closed_at":null,"body":"Is it possible to use a PostFilteringWrapper in combination with a filter on the threadid equals threadid from the exception?\r\nI want to create an email target that will send an email when an exception is logged and it should contain the buffered log messages from all levels from the same threadid"},"comment":{"url":"https://api.github.com/repos/NLog/NLog/issues/comments/111755195","html_url":"https://github.com/NLog/NLog/issues/727#issuecomment-111755195","issue_url":"https://api.github.com/repos/NLog/NLog/issues/727","id":111755195,"user":{"login":"304NotModified","id":5808377,"avatar_url":"https://avatars.githubusercontent.com/u/5808377?v=3","gravatar_id":"","url":"https://api.github.com/users/304NotModified","html_url":"https://github.com/304NotModified","followers_url":"https://api.github.com/users/304NotModified/followers","following_url":"https://api.github.com/users/304NotModified/following{/other_user}","gists_url":"https://api.github.com/users/304NotModified/gists{/gist_id}","starred_url":"https://api.github.com/users/304NotModified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/304NotModified/subscriptions","organizations_url":"https://api.github.com/users/304NotModified/orgs","repos_url":"https://api.github.com/users/304NotModified/repos","events_url":"https://api.github.com/users/304NotModified/events{/privacy}","received_events_url":"https://api.github.com/users/304NotModified/received_events","type":"User","site_admin":false},"created_at":"2015-06-13T21:56:54Z","updated_at":"2015-06-13T21:56:54Z","body":"This should be possible. I think you need the [Event properties](https://github.com/NLog/NLog/wiki/EventProperties-Layout-Renderer) because the exception doesn't have the property \"threadid\"\r\n\r\nIn the condition you can use both `${threadid}` and `${event-properties}`\r\n\r\nBut I'm not sure, aren't those always the same? An if they aren't, I think you will lose messages. "}}