{"action":"created","comment":{"url":"https://api.github.com/repos/akka/akka/pulls/comments/78563177","id":78563177,"diff_hunk":"@@ -118,6 +118,23 @@ class LoggingReceiveSpec extends WordSpec with BeforeAndAfterAll {\n       }\n     }\n \n+    \"log with MDC\" in {\n+      new TestKit(appLogging) {\n+        system.eventStream.subscribe(testActor, classOf[Logging.Debug])\n+        val myMDC = Map(\"hello\" → \"mdc\")\n+        val a = system.actorOf(Props(new Actor with DiagnosticActorLogging {\n+          override def mdc(currentMessage: Any) = myMDC\n+          def receive = LoggingReceive {\n+            case \"hello\" ⇒\n+          }\n+        }))\n+        a ! \"hello\"\n+        expectMsgPF(1 second, \"Logging.Debug2\") {","path":"akka-actor-tests/src/test/scala/akka/event/LoggingReceiveSpec.scala","position":15,"original_position":15,"commit_id":"5e624bc16104b899e5d372d4fc416bc57a834ed8","original_commit_id":"5e624bc16104b899e5d372d4fc416bc57a834ed8","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},"body":"too short timeout, see https://github.com/akka/akka/blob/master/CONTRIBUTING.md#preferred-ways-to-use-timeouts-in-tests","created_at":"2016-09-13T13:54:53Z","updated_at":"2016-09-13T13:54:53Z","html_url":"https://github.com/akka/akka/pull/21452#discussion_r78563177","pull_request_url":"https://api.github.com/repos/akka/akka/pulls/21452","_links":{"self":{"href":"https://api.github.com/repos/akka/akka/pulls/comments/78563177"},"html":{"href":"https://github.com/akka/akka/pull/21452#discussion_r78563177"},"pull_request":{"href":"https://api.github.com/repos/akka/akka/pulls/21452"}}},"pull_request":{"url":"https://api.github.com/repos/akka/akka/pulls/21452","id":85011157,"html_url":"https://github.com/akka/akka/pull/21452","diff_url":"https://github.com/akka/akka/pull/21452.diff","patch_url":"https://github.com/akka/akka/pull/21452.patch","issue_url":"https://api.github.com/repos/akka/akka/issues/21452","number":21452,"state":"open","locked":false,"title":"Adding mdc support for LoggingReceive #21361","user":{"login":"ortigali","id":7487519,"avatar_url":"https://avatars.githubusercontent.com/u/7487519?v=3","gravatar_id":"","url":"https://api.github.com/users/ortigali","html_url":"https://github.com/ortigali","followers_url":"https://api.github.com/users/ortigali/followers","following_url":"https://api.github.com/users/ortigali/following{/other_user}","gists_url":"https://api.github.com/users/ortigali/gists{/gist_id}","starred_url":"https://api.github.com/users/ortigali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ortigali/subscriptions","organizations_url":"https://api.github.com/users/ortigali/orgs","repos_url":"https://api.github.com/users/ortigali/repos","events_url":"https://api.github.com/users/ortigali/events{/privacy}","received_events_url":"https://api.github.com/users/ortigali/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-13T09:13:30Z","updated_at":"2016-09-13T13:54:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd20612d8c86dc35990844fcdb09e21046b59edb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/akka/akka/pulls/21452/commits","review_comments_url":"https://api.github.com/repos/akka/akka/pulls/21452/comments","review_comment_url":"https://api.github.com/repos/akka/akka/pulls/comments{/number}","comments_url":"https://api.github.com/repos/akka/akka/issues/21452/comments","statuses_url":"https://api.github.com/repos/akka/akka/statuses/5e624bc16104b899e5d372d4fc416bc57a834ed8","head":{"label":"ortigali:wip-21361-mdc","ref":"wip-21361-mdc","sha":"5e624bc16104b899e5d372d4fc416bc57a834ed8","user":{"login":"ortigali","id":7487519,"avatar_url":"https://avatars.githubusercontent.com/u/7487519?v=3","gravatar_id":"","url":"https://api.github.com/users/ortigali","html_url":"https://github.com/ortigali","followers_url":"https://api.github.com/users/ortigali/followers","following_url":"https://api.github.com/users/ortigali/following{/other_user}","gists_url":"https://api.github.com/users/ortigali/gists{/gist_id}","starred_url":"https://api.github.com/users/ortigali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ortigali/subscriptions","organizations_url":"https://api.github.com/users/ortigali/orgs","repos_url":"https://api.github.com/users/ortigali/repos","events_url":"https://api.github.com/users/ortigali/events{/privacy}","received_events_url":"https://api.github.com/users/ortigali/received_events","type":"User","site_admin":false},"repo":{"id":41109492,"name":"akka","full_name":"ortigali/akka","owner":{"login":"ortigali","id":7487519,"avatar_url":"https://avatars.githubusercontent.com/u/7487519?v=3","gravatar_id":"","url":"https://api.github.com/users/ortigali","html_url":"https://github.com/ortigali","followers_url":"https://api.github.com/users/ortigali/followers","following_url":"https://api.github.com/users/ortigali/following{/other_user}","gists_url":"https://api.github.com/users/ortigali/gists{/gist_id}","starred_url":"https://api.github.com/users/ortigali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ortigali/subscriptions","organizations_url":"https://api.github.com/users/ortigali/orgs","repos_url":"https://api.github.com/users/ortigali/repos","events_url":"https://api.github.com/users/ortigali/events{/privacy}","received_events_url":"https://api.github.com/users/ortigali/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ortigali/akka","description":"Akka Project","fork":true,"url":"https://api.github.com/repos/ortigali/akka","forks_url":"https://api.github.com/repos/ortigali/akka/forks","keys_url":"https://api.github.com/repos/ortigali/akka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ortigali/akka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ortigali/akka/teams","hooks_url":"https://api.github.com/repos/ortigali/akka/hooks","issue_events_url":"https://api.github.com/repos/ortigali/akka/issues/events{/number}","events_url":"https://api.github.com/repos/ortigali/akka/events","assignees_url":"https://api.github.com/repos/ortigali/akka/assignees{/user}","branches_url":"https://api.github.com/repos/ortigali/akka/branches{/branch}","tags_url":"https://api.github.com/repos/ortigali/akka/tags","blobs_url":"https://api.github.com/repos/ortigali/akka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ortigali/akka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ortigali/akka/git/refs{/sha}","trees_url":"https://api.github.com/repos/ortigali/akka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ortigali/akka/statuses/{sha}","languages_url":"https://api.github.com/repos/ortigali/akka/languages","stargazers_url":"https://api.github.com/repos/ortigali/akka/stargazers","contributors_url":"https://api.github.com/repos/ortigali/akka/contributors","subscribers_url":"https://api.github.com/repos/ortigali/akka/subscribers","subscription_url":"https://api.github.com/repos/ortigali/akka/subscription","commits_url":"https://api.github.com/repos/ortigali/akka/commits{/sha}","git_commits_url":"https://api.github.com/repos/ortigali/akka/git/commits{/sha}","comments_url":"https://api.github.com/repos/ortigali/akka/comments{/number}","issue_comment_url":"https://api.github.com/repos/ortigali/akka/issues/comments{/number}","contents_url":"https://api.github.com/repos/ortigali/akka/contents/{+path}","compare_url":"https://api.github.com/repos/ortigali/akka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ortigali/akka/merges","archive_url":"https://api.github.com/repos/ortigali/akka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ortigali/akka/downloads","issues_url":"https://api.github.com/repos/ortigali/akka/issues{/number}","pulls_url":"https://api.github.com/repos/ortigali/akka/pulls{/number}","milestones_url":"https://api.github.com/repos/ortigali/akka/milestones{/number}","notifications_url":"https://api.github.com/repos/ortigali/akka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ortigali/akka/labels{/name}","releases_url":"https://api.github.com/repos/ortigali/akka/releases{/id}","deployments_url":"https://api.github.com/repos/ortigali/akka/deployments","created_at":"2015-08-20T17:27:42Z","updated_at":"2016-08-18T13:00:40Z","pushed_at":"2016-09-13T09:11:50Z","git_url":"git://github.com/ortigali/akka.git","ssh_url":"git@github.com:ortigali/akka.git","clone_url":"https://github.com/ortigali/akka.git","svn_url":"https://github.com/ortigali/akka","homepage":"http://akka.io","size":187725,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"akka:master","ref":"master","sha":"e65e63e8c1e536d86f34ecae78f3d6f4699ce6d3","user":{"login":"akka","id":1496237,"avatar_url":"https://avatars.githubusercontent.com/u/1496237?v=3","gravatar_id":"","url":"https://api.github.com/users/akka","html_url":"https://github.com/akka","followers_url":"https://api.github.com/users/akka/followers","following_url":"https://api.github.com/users/akka/following{/other_user}","gists_url":"https://api.github.com/users/akka/gists{/gist_id}","starred_url":"https://api.github.com/users/akka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akka/subscriptions","organizations_url":"https://api.github.com/users/akka/orgs","repos_url":"https://api.github.com/users/akka/repos","events_url":"https://api.github.com/users/akka/events{/privacy}","received_events_url":"https://api.github.com/users/akka/received_events","type":"Organization","site_admin":false},"repo":{"id":130013,"name":"akka","full_name":"akka/akka","owner":{"login":"akka","id":1496237,"avatar_url":"https://avatars.githubusercontent.com/u/1496237?v=3","gravatar_id":"","url":"https://api.github.com/users/akka","html_url":"https://github.com/akka","followers_url":"https://api.github.com/users/akka/followers","following_url":"https://api.github.com/users/akka/following{/other_user}","gists_url":"https://api.github.com/users/akka/gists{/gist_id}","starred_url":"https://api.github.com/users/akka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akka/subscriptions","organizations_url":"https://api.github.com/users/akka/orgs","repos_url":"https://api.github.com/users/akka/repos","events_url":"https://api.github.com/users/akka/events{/privacy}","received_events_url":"https://api.github.com/users/akka/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/akka/akka","description":"Akka Project","fork":false,"url":"https://api.github.com/repos/akka/akka","forks_url":"https://api.github.com/repos/akka/akka/forks","keys_url":"https://api.github.com/repos/akka/akka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akka/akka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akka/akka/teams","hooks_url":"https://api.github.com/repos/akka/akka/hooks","issue_events_url":"https://api.github.com/repos/akka/akka/issues/events{/number}","events_url":"https://api.github.com/repos/akka/akka/events","assignees_url":"https://api.github.com/repos/akka/akka/assignees{/user}","branches_url":"https://api.github.com/repos/akka/akka/branches{/branch}","tags_url":"https://api.github.com/repos/akka/akka/tags","blobs_url":"https://api.github.com/repos/akka/akka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akka/akka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akka/akka/git/refs{/sha}","trees_url":"https://api.github.com/repos/akka/akka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akka/akka/statuses/{sha}","languages_url":"https://api.github.com/repos/akka/akka/languages","stargazers_url":"https://api.github.com/repos/akka/akka/stargazers","contributors_url":"https://api.github.com/repos/akka/akka/contributors","subscribers_url":"https://api.github.com/repos/akka/akka/subscribers","subscription_url":"https://api.github.com/repos/akka/akka/subscription","commits_url":"https://api.github.com/repos/akka/akka/commits{/sha}","git_commits_url":"https://api.github.com/repos/akka/akka/git/commits{/sha}","comments_url":"https://api.github.com/repos/akka/akka/comments{/number}","issue_comment_url":"https://api.github.com/repos/akka/akka/issues/comments{/number}","contents_url":"https://api.github.com/repos/akka/akka/contents/{+path}","compare_url":"https://api.github.com/repos/akka/akka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akka/akka/merges","archive_url":"https://api.github.com/repos/akka/akka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akka/akka/downloads","issues_url":"https://api.github.com/repos/akka/akka/issues{/number}","pulls_url":"https://api.github.com/repos/akka/akka/pulls{/number}","milestones_url":"https://api.github.com/repos/akka/akka/milestones{/number}","notifications_url":"https://api.github.com/repos/akka/akka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akka/akka/labels{/name}","releases_url":"https://api.github.com/repos/akka/akka/releases{/id}","deployments_url":"https://api.github.com/repos/akka/akka/deployments","created_at":"2009-02-16T12:51:54Z","updated_at":"2016-09-13T09:03:01Z","pushed_at":"2016-09-13T13:52:22Z","git_url":"git://github.com/akka/akka.git","ssh_url":"git@github.com:akka/akka.git","clone_url":"https://github.com/akka/akka.git","svn_url":"https://github.com/akka/akka","homepage":"http://akka.io","size":229181,"stargazers_count":6011,"watchers_count":6011,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1914,"mirror_url":null,"open_issues_count":497,"forks":1914,"open_issues":497,"watchers":6011,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/akka/akka/pulls/21452"},"html":{"href":"https://github.com/akka/akka/pull/21452"},"issue":{"href":"https://api.github.com/repos/akka/akka/issues/21452"},"comments":{"href":"https://api.github.com/repos/akka/akka/issues/21452/comments"},"review_comments":{"href":"https://api.github.com/repos/akka/akka/pulls/21452/comments"},"review_comment":{"href":"https://api.github.com/repos/akka/akka/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/akka/akka/pulls/21452/commits"},"statuses":{"href":"https://api.github.com/repos/akka/akka/statuses/5e624bc16104b899e5d372d4fc416bc57a834ed8"}}}}
{"actor":{"display_login":"patriknw"}}