{"action":"created","issue":{"url":"https://api.github.com/repos/thinkshout/mandrill/issues/41","labels_url":"https://api.github.com/repos/thinkshout/mandrill/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/thinkshout/mandrill/issues/41/comments","events_url":"https://api.github.com/repos/thinkshout/mandrill/issues/41/events","html_url":"https://github.com/thinkshout/mandrill/pull/41","id":120070815,"number":41,"title":"Fixing all watchdog references in D8 code","user":{"login":"mshaver","id":179803,"avatar_url":"https://avatars.githubusercontent.com/u/179803?v=3","gravatar_id":"","url":"https://api.github.com/users/mshaver","html_url":"https://github.com/mshaver","followers_url":"https://api.github.com/users/mshaver/followers","following_url":"https://api.github.com/users/mshaver/following{/other_user}","gists_url":"https://api.github.com/users/mshaver/gists{/gist_id}","starred_url":"https://api.github.com/users/mshaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshaver/subscriptions","organizations_url":"https://api.github.com/users/mshaver/orgs","repos_url":"https://api.github.com/users/mshaver/repos","events_url":"https://api.github.com/users/mshaver/events{/privacy}","received_events_url":"https://api.github.com/users/mshaver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jamidwyer","id":509571,"avatar_url":"https://avatars.githubusercontent.com/u/509571?v=3","gravatar_id":"","url":"https://api.github.com/users/jamidwyer","html_url":"https://github.com/jamidwyer","followers_url":"https://api.github.com/users/jamidwyer/followers","following_url":"https://api.github.com/users/jamidwyer/following{/other_user}","gists_url":"https://api.github.com/users/jamidwyer/gists{/gist_id}","starred_url":"https://api.github.com/users/jamidwyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamidwyer/subscriptions","organizations_url":"https://api.github.com/users/jamidwyer/orgs","repos_url":"https://api.github.com/users/jamidwyer/repos","events_url":"https://api.github.com/users/jamidwyer/events{/privacy}","received_events_url":"https://api.github.com/users/jamidwyer/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/thinkshout/mandrill/milestones/2","html_url":"https://github.com/thinkshout/mandrill/milestones/Mandrill%20D8%20Port","labels_url":"https://api.github.com/repos/thinkshout/mandrill/milestones/2/labels","id":1409562,"number":2,"title":"Mandrill D8 Port","description":"","creator":{"login":"mshaver","id":179803,"avatar_url":"https://avatars.githubusercontent.com/u/179803?v=3","gravatar_id":"","url":"https://api.github.com/users/mshaver","html_url":"https://github.com/mshaver","followers_url":"https://api.github.com/users/mshaver/followers","following_url":"https://api.github.com/users/mshaver/following{/other_user}","gists_url":"https://api.github.com/users/mshaver/gists{/gist_id}","starred_url":"https://api.github.com/users/mshaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshaver/subscriptions","organizations_url":"https://api.github.com/users/mshaver/orgs","repos_url":"https://api.github.com/users/mshaver/repos","events_url":"https://api.github.com/users/mshaver/events{/privacy}","received_events_url":"https://api.github.com/users/mshaver/received_events","type":"User","site_admin":false},"open_issues":33,"closed_issues":0,"state":"open","created_at":"2015-11-13T00:19:44Z","updated_at":"2015-12-03T01:02:58Z","due_on":"2015-12-18T08:00:00Z","closed_at":null},"comments":0,"created_at":"2015-12-03T00:58:28Z","updated_at":"2015-12-03T01:07:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/thinkshout/mandrill/pulls/41","html_url":"https://github.com/thinkshout/mandrill/pull/41","diff_url":"https://github.com/thinkshout/mandrill/pull/41.diff","patch_url":"https://github.com/thinkshout/mandrill/pull/41.patch"},"body":"Issue reference #28 "},"comment":{"url":"https://api.github.com/repos/thinkshout/mandrill/issues/comments/161483853","html_url":"https://github.com/thinkshout/mandrill/pull/41#issuecomment-161483853","issue_url":"https://api.github.com/repos/thinkshout/mandrill/issues/41","id":161483853,"user":{"login":"mshaver","id":179803,"avatar_url":"https://avatars.githubusercontent.com/u/179803?v=3","gravatar_id":"","url":"https://api.github.com/users/mshaver","html_url":"https://github.com/mshaver","followers_url":"https://api.github.com/users/mshaver/followers","following_url":"https://api.github.com/users/mshaver/following{/other_user}","gists_url":"https://api.github.com/users/mshaver/gists{/gist_id}","starred_url":"https://api.github.com/users/mshaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshaver/subscriptions","organizations_url":"https://api.github.com/users/mshaver/orgs","repos_url":"https://api.github.com/users/mshaver/repos","events_url":"https://api.github.com/users/mshaver/events{/privacy}","received_events_url":"https://api.github.com/users/mshaver/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T01:07:05Z","updated_at":"2015-12-03T01:07:05Z","body":"@jamidwyer I found a few more places that need updating for logging in D8. I corrected a few of the references to the term watchdog, but there might need some additional work to actually log them correctly. Also, I believe the mandrill.module will need to use the new logging method where it is now using watchdog_exception:\r\n\r\n```\r\ncatch (Exception $e) {\r\n  \\Drupal::logger('mailchimp')->error('An error occurred performing batch subscribe/update. \"{message}\"', array(\r\n  'message' => $e->getMessage()));\r\n}\r\n```"}}