{"action":"created","issue":{"url":"https://api.github.com/repos/roidrage/lograge/issues/112","labels_url":"https://api.github.com/repos/roidrage/lograge/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/roidrage/lograge/issues/112/comments","events_url":"https://api.github.com/repos/roidrage/lograge/issues/112/events","html_url":"https://github.com/roidrage/lograge/pull/112","id":56905952,"number":112,"title":"Log RecordNotFound as 404","user":{"login":"pxlpnk","id":164718,"avatar_url":"https://avatars.githubusercontent.com/u/164718?v=3","gravatar_id":"","url":"https://api.github.com/users/pxlpnk","html_url":"https://github.com/pxlpnk","followers_url":"https://api.github.com/users/pxlpnk/followers","following_url":"https://api.github.com/users/pxlpnk/following{/other_user}","gists_url":"https://api.github.com/users/pxlpnk/gists{/gist_id}","starred_url":"https://api.github.com/users/pxlpnk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pxlpnk/subscriptions","organizations_url":"https://api.github.com/users/pxlpnk/orgs","repos_url":"https://api.github.com/users/pxlpnk/repos","events_url":"https://api.github.com/users/pxlpnk/events{/privacy}","received_events_url":"https://api.github.com/users/pxlpnk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-07T10:09:39Z","updated_at":"2015-06-30T20:29:30Z","closed_at":"2015-02-07T19:21:56Z","pull_request":{"url":"https://api.github.com/repos/roidrage/lograge/pulls/112","html_url":"https://github.com/roidrage/lograge/pull/112","diff_url":"https://github.com/roidrage/lograge/pull/112.diff","patch_url":"https://github.com/roidrage/lograge/pull/112.patch"},"body":"This is an attempt/proposal to fix #110 and parts of #27.\r\nIt will correctly log an `ActiveRecord::RecordNotFound` as a 404 and other things coming back from AR and others.\r\n\r\nIt will however not log a `ActionController::RoutingError` as this is out of reach with the current implementation. See the referenced issues for this."},"comment":{"url":"https://api.github.com/repos/roidrage/lograge/issues/comments/117332296","html_url":"https://github.com/roidrage/lograge/pull/112#issuecomment-117332296","issue_url":"https://api.github.com/repos/roidrage/lograge/issues/112","id":117332296,"user":{"login":"pxlpnk","id":164718,"avatar_url":"https://avatars.githubusercontent.com/u/164718?v=3","gravatar_id":"","url":"https://api.github.com/users/pxlpnk","html_url":"https://github.com/pxlpnk","followers_url":"https://api.github.com/users/pxlpnk/followers","following_url":"https://api.github.com/users/pxlpnk/following{/other_user}","gists_url":"https://api.github.com/users/pxlpnk/gists{/gist_id}","starred_url":"https://api.github.com/users/pxlpnk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pxlpnk/subscriptions","organizations_url":"https://api.github.com/users/pxlpnk/orgs","repos_url":"https://api.github.com/users/pxlpnk/repos","events_url":"https://api.github.com/users/pxlpnk/events{/privacy}","received_events_url":"https://api.github.com/users/pxlpnk/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T20:29:30Z","updated_at":"2015-06-30T20:29:30Z","body":"This happens in the rack stack. lograge currently can not handle those errors.\r\nIn general rails has two (two my knowledge) kind of 404 exceptions. One being from ActiveRecord when a record is not found and the other from the routing stack that is handled in rack."}}