{"action":"opened","issue":{"url":"https://api.github.com/repos/zalando/logbook/issues/372","repository_url":"https://api.github.com/repos/zalando/logbook","labels_url":"https://api.github.com/repos/zalando/logbook/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/zalando/logbook/issues/372/comments","events_url":"https://api.github.com/repos/zalando/logbook/issues/372/events","html_url":"https://github.com/zalando/logbook/issues/372","id":374566006,"node_id":"MDU6SXNzdWUzNzQ1NjYwMDY=","number":372,"title":"Pretty-print json body","user":{"login":"molexx","id":210764,"node_id":"MDQ6VXNlcjIxMDc2NA==","avatar_url":"https://avatars2.githubusercontent.com/u/210764?v=4","gravatar_id":"","url":"https://api.github.com/users/molexx","html_url":"https://github.com/molexx","followers_url":"https://api.github.com/users/molexx/followers","following_url":"https://api.github.com/users/molexx/following{/other_user}","gists_url":"https://api.github.com/users/molexx/gists{/gist_id}","starred_url":"https://api.github.com/users/molexx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molexx/subscriptions","organizations_url":"https://api.github.com/users/molexx/orgs","repos_url":"https://api.github.com/users/molexx/repos","events_url":"https://api.github.com/users/molexx/events{/privacy}","received_events_url":"https://api.github.com/users/molexx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-26T22:20:22Z","updated_at":"2018-10-26T22:20:22Z","closed_at":null,"author_association":"NONE","body":"## Detailed Description\r\nThis is separate/additional to the log format. 'http' format works for me for showing headers, but when a body comprised of json is logged it's all in one line with no line breaks or indentation.\r\nThis would apply to the 'json' log format too, I'm not sure if in this case the entire output should be pretty-printed or just the body.\r\n\r\n## Context\r\nI work with a Spring Boot webservice which returns large bodies of deeply nested json, currently it is output as one long line so to make sense of it I need to copy/paste it into some editor and use its formatting tool.\r\n"}}
{"actor":{"display_login":"molexx"}}