{"action":"created","issue":{"url":"https://api.github.com/repos/Gizra/logs_http/issues/5","labels_url":"https://api.github.com/repos/Gizra/logs_http/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Gizra/logs_http/issues/5/comments","events_url":"https://api.github.com/repos/Gizra/logs_http/issues/5/events","html_url":"https://github.com/Gizra/logs_http/pull/5","id":57735565,"number":5,"title":"Optionally submit some debugging details once for each request","user":{"login":"jurgenhaas","id":1475675,"avatar_url":"https://avatars.githubusercontent.com/u/1475675?v=3","gravatar_id":"","url":"https://api.github.com/users/jurgenhaas","html_url":"https://github.com/jurgenhaas","followers_url":"https://api.github.com/users/jurgenhaas/followers","following_url":"https://api.github.com/users/jurgenhaas/following{/other_user}","gists_url":"https://api.github.com/users/jurgenhaas/gists{/gist_id}","starred_url":"https://api.github.com/users/jurgenhaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jurgenhaas/subscriptions","organizations_url":"https://api.github.com/users/jurgenhaas/orgs","repos_url":"https://api.github.com/users/jurgenhaas/repos","events_url":"https://api.github.com/users/jurgenhaas/events{/privacy}","received_events_url":"https://api.github.com/users/jurgenhaas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-15T16:22:48Z","updated_at":"2015-04-04T12:24:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Gizra/logs_http/pulls/5","html_url":"https://github.com/Gizra/logs_http/pull/5","diff_url":"https://github.com/Gizra/logs_http/pull/5.diff","patch_url":"https://github.com/Gizra/logs_http/pull/5.patch"},"body":"See https://github.com/Gizra/logs_http/issues/4\r\n\r\nI have implemented this in a way that the debugging details get only submitted once per HTTP request, so even if one request to Drupal generates multiple events, there will only be one single event with debugging details.\r\n\r\nAlso, complex data within the JSON command is possible according to this blog post https://www.loggly.com/blog/8-handy-tips-consider-logging-json but only if the same field (here: \"debug_details\") has not been used for strings before. I have tested this and can confirm that it works as described."},"comment":{"url":"https://api.github.com/repos/Gizra/logs_http/issues/comments/89559385","html_url":"https://github.com/Gizra/logs_http/pull/5#issuecomment-89559385","issue_url":"https://api.github.com/repos/Gizra/logs_http/issues/5","id":89559385,"user":{"login":"jurgenhaas","id":1475675,"avatar_url":"https://avatars.githubusercontent.com/u/1475675?v=3","gravatar_id":"","url":"https://api.github.com/users/jurgenhaas","html_url":"https://github.com/jurgenhaas","followers_url":"https://api.github.com/users/jurgenhaas/followers","following_url":"https://api.github.com/users/jurgenhaas/following{/other_user}","gists_url":"https://api.github.com/users/jurgenhaas/gists{/gist_id}","starred_url":"https://api.github.com/users/jurgenhaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jurgenhaas/subscriptions","organizations_url":"https://api.github.com/users/jurgenhaas/orgs","repos_url":"https://api.github.com/users/jurgenhaas/repos","events_url":"https://api.github.com/users/jurgenhaas/events{/privacy}","received_events_url":"https://api.github.com/users/jurgenhaas/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T12:24:19Z","updated_at":"2015-04-04T12:24:19Z","body":"I have just moved the debugging details into an alter hook as discussed before."}}