{"action":"created","issue":{"url":"https://api.github.com/repos/akka/akka/issues/21361","repository_url":"https://api.github.com/repos/akka/akka","labels_url":"https://api.github.com/repos/akka/akka/issues/21361/labels{/name}","comments_url":"https://api.github.com/repos/akka/akka/issues/21361/comments","events_url":"https://api.github.com/repos/akka/akka/issues/21361/events","html_url":"https://github.com/akka/akka/issues/21361","id":174923537,"number":21361,"title":"LoggingReceive doesn't send MDC","user":{"login":"dskrvk","id":2267624,"avatar_url":"https://avatars.githubusercontent.com/u/2267624?v=3","gravatar_id":"","url":"https://api.github.com/users/dskrvk","html_url":"https://github.com/dskrvk","followers_url":"https://api.github.com/users/dskrvk/followers","following_url":"https://api.github.com/users/dskrvk/following{/other_user}","gists_url":"https://api.github.com/users/dskrvk/gists{/gist_id}","starred_url":"https://api.github.com/users/dskrvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dskrvk/subscriptions","organizations_url":"https://api.github.com/users/dskrvk/orgs","repos_url":"https://api.github.com/users/dskrvk/repos","events_url":"https://api.github.com/users/dskrvk/events{/privacy}","received_events_url":"https://api.github.com/users/dskrvk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/akka/akka/labels/1%20-%20triaged","name":"1 - triaged","color":"5319e7"},{"url":"https://api.github.com/repos/akka/akka/labels/t:core","name":"t:core","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-03T23:53:57Z","updated_at":"2016-09-04T17:04:07Z","closed_at":null,"body":"In [`LoggingReceive#isDefinedAt`](https://github.com/akka/akka/blob/65a9e0a0f9372d2e2ecb945c8a9dae129a438f77/akka-actor/src/main/scala/akka/event/LoggingReceive.scala#L56) the `Debug` message is created without the MDC argument. Is this intentional?\r\n\r\nIn my code I'm using a `DiagnosticLoggingAdapter` and would like to have the mdc info for incoming messages logged for debugging purposes."},"comment":{"url":"https://api.github.com/repos/akka/akka/issues/comments/244614846","html_url":"https://github.com/akka/akka/issues/21361#issuecomment-244614846","issue_url":"https://api.github.com/repos/akka/akka/issues/21361","id":244614846,"user":{"login":"patriknw","id":336161,"avatar_url":"https://avatars.githubusercontent.com/u/336161?v=3","gravatar_id":"","url":"https://api.github.com/users/patriknw","html_url":"https://github.com/patriknw","followers_url":"https://api.github.com/users/patriknw/followers","following_url":"https://api.github.com/users/patriknw/following{/other_user}","gists_url":"https://api.github.com/users/patriknw/gists{/gist_id}","starred_url":"https://api.github.com/users/patriknw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriknw/subscriptions","organizations_url":"https://api.github.com/users/patriknw/orgs","repos_url":"https://api.github.com/users/patriknw/repos","events_url":"https://api.github.com/users/patriknw/events{/privacy}","received_events_url":"https://api.github.com/users/patriknw/received_events","type":"User","site_admin":false},"created_at":"2016-09-04T17:04:07Z","updated_at":"2016-09-04T17:04:07Z","body":"@dskrvk sound good to include the MDC, if available. I think it can do that if `context.isInstanceOf[DiagnosticActorLogging]` or do you have any other idea of from where it should get the MDC? If you would like to contribute it would be great if you create a pull request fixing this."}}
{"actor":{"display_login":"patriknw"}}