{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1922","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1922/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1922/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1922/events","html_url":"https://github.com/ParsePlatform/parse-server/pull/1922","id":157061036,"number":1922,"title":"Log objects rather than JSON stringified objects","user":{"login":"spenthil","id":110513,"avatar_url":"https://avatars.githubusercontent.com/u/110513?v=3","gravatar_id":"","url":"https://api.github.com/users/spenthil","html_url":"https://github.com/spenthil","followers_url":"https://api.github.com/users/spenthil/followers","following_url":"https://api.github.com/users/spenthil/following{/other_user}","gists_url":"https://api.github.com/users/spenthil/gists{/gist_id}","starred_url":"https://api.github.com/users/spenthil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spenthil/subscriptions","organizations_url":"https://api.github.com/users/spenthil/orgs","repos_url":"https://api.github.com/users/spenthil/repos","events_url":"https://api.github.com/users/spenthil/events{/privacy}","received_events_url":"https://api.github.com/users/spenthil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/parse-server/labels/GH%20Review:%20review-needed","name":"GH Review: review-needed","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-26T19:33:21Z","updated_at":"2016-05-27T00:10:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/1922","html_url":"https://github.com/ParsePlatform/parse-server/pull/1922","diff_url":"https://github.com/ParsePlatform/parse-server/pull/1922.diff","patch_url":"https://github.com/ParsePlatform/parse-server/pull/1922.patch"},"body":"To easily configure CloudWatch (AWS), each log entry should be on a single line. This makes `VERBOSE` logging do just that.\r\n\r\nIn our case - when connecting the parse-server app, we also configure the logger to stringify JSON:\r\n```\r\nlogger.configure({\r\n  level: 'silly',\r\n  transports: [\r\n    new (winston.transports.Console)({\r\n      json: true,\r\n      stringify: true\r\n    })\r\n  ]\r\n});\r\n```\r\n\r\nWe can then pipe straight to CloudWatch which ingests the JSON without issue."},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments/222028961","html_url":"https://github.com/ParsePlatform/parse-server/pull/1922#issuecomment-222028961","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1922","id":222028961,"user":{"login":"facebook-github-bot-3","id":8397447,"avatar_url":"https://avatars.githubusercontent.com/u/8397447?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook-github-bot-3","html_url":"https://github.com/facebook-github-bot-3","followers_url":"https://api.github.com/users/facebook-github-bot-3/followers","following_url":"https://api.github.com/users/facebook-github-bot-3/following{/other_user}","gists_url":"https://api.github.com/users/facebook-github-bot-3/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook-github-bot-3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook-github-bot-3/subscriptions","organizations_url":"https://api.github.com/users/facebook-github-bot-3/orgs","repos_url":"https://api.github.com/users/facebook-github-bot-3/repos","events_url":"https://api.github.com/users/facebook-github-bot-3/events{/privacy}","received_events_url":"https://api.github.com/users/facebook-github-bot-3/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T00:10:52Z","updated_at":"2016-05-27T00:10:52Z","body":"@spenthil updated the pull request."}}
{"actor":{"display_login":"facebook-github-bot-3"}}