{"action":"created","issue":{"url":"https://api.github.com/repos/seancribbs/webmachine-ruby/issues/211","labels_url":"https://api.github.com/repos/seancribbs/webmachine-ruby/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/seancribbs/webmachine-ruby/issues/211/comments","events_url":"https://api.github.com/repos/seancribbs/webmachine-ruby/issues/211/events","html_url":"https://github.com/seancribbs/webmachine-ruby/issues/211","id":53252036,"number":211,"title":"Logging all incoming requests","user":{"login":"kgish","id":79195,"avatar_url":"https://avatars.githubusercontent.com/u/79195?v=3","gravatar_id":"","url":"https://api.github.com/users/kgish","html_url":"https://github.com/kgish","followers_url":"https://api.github.com/users/kgish/followers","following_url":"https://api.github.com/users/kgish/following{/other_user}","gists_url":"https://api.github.com/users/kgish/gists{/gist_id}","starred_url":"https://api.github.com/users/kgish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgish/subscriptions","organizations_url":"https://api.github.com/users/kgish/orgs","repos_url":"https://api.github.com/users/kgish/repos","events_url":"https://api.github.com/users/kgish/events{/privacy}","received_events_url":"https://api.github.com/users/kgish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-01-02T13:15:36Z","updated_at":"2015-01-03T21:25:28Z","closed_at":null,"body":"Where's the best place to log the complete request when it first arrives?\r\n\r\nI tried following the example for in `examples/logging.rb` using `LogListener` but get the following error message:\r\n```\r\nuninitialized constant Webmachine::Events\r\n```\r\nAny other example?"},"comment":{"url":"https://api.github.com/repos/seancribbs/webmachine-ruby/issues/comments/68610180","html_url":"https://github.com/seancribbs/webmachine-ruby/issues/211#issuecomment-68610180","issue_url":"https://api.github.com/repos/seancribbs/webmachine-ruby/issues/211","id":68610180,"user":{"login":"bethesque","id":446228,"avatar_url":"https://avatars.githubusercontent.com/u/446228?v=3","gravatar_id":"","url":"https://api.github.com/users/bethesque","html_url":"https://github.com/bethesque","followers_url":"https://api.github.com/users/bethesque/followers","following_url":"https://api.github.com/users/bethesque/following{/other_user}","gists_url":"https://api.github.com/users/bethesque/gists{/gist_id}","starred_url":"https://api.github.com/users/bethesque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bethesque/subscriptions","organizations_url":"https://api.github.com/users/bethesque/orgs","repos_url":"https://api.github.com/users/bethesque/repos","events_url":"https://api.github.com/users/bethesque/events{/privacy}","received_events_url":"https://api.github.com/users/bethesque/received_events","type":"User","site_admin":false},"created_at":"2015-01-03T21:25:28Z","updated_at":"2015-01-03T21:25:28Z","body":"The newer version is actually what I would expect to see, and is conventional JSON. There's no need to indicate that the hash is a \"product\", because you've already indicated that this is an array of products in the top node. JSON is much less verbose that way than XML. Given that JSON is an \"Object Notation\", imagine you were getting the name of the first product - you'd expect to go response.products[0].name, not response.products[0].product.name.\r\n\r\nEither way, as @Asmod4n said, that's a Roar thing, not a Webmachine thing."}}