{"action":"created","issue":{"url":"https://api.github.com/repos/linnovate/mean/issues/1087","labels_url":"https://api.github.com/repos/linnovate/mean/issues/1087/labels{/name}","comments_url":"https://api.github.com/repos/linnovate/mean/issues/1087/comments","events_url":"https://api.github.com/repos/linnovate/mean/issues/1087/events","html_url":"https://github.com/linnovate/mean/pull/1087","id":60661392,"number":1087,"title":"Better logs for mean apps","user":{"login":"zohar","id":109613,"avatar_url":"https://avatars.githubusercontent.com/u/109613?v=3","gravatar_id":"","url":"https://api.github.com/users/zohar","html_url":"https://github.com/zohar","followers_url":"https://api.github.com/users/zohar/followers","following_url":"https://api.github.com/users/zohar/following{/other_user}","gists_url":"https://api.github.com/users/zohar/gists{/gist_id}","starred_url":"https://api.github.com/users/zohar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zohar/subscriptions","organizations_url":"https://api.github.com/users/zohar/orgs","repos_url":"https://api.github.com/users/zohar/repos","events_url":"https://api.github.com/users/zohar/events{/privacy}","received_events_url":"https://api.github.com/users/zohar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-11T13:54:21Z","updated_at":"2015-03-16T21:17:37Z","closed_at":"2015-03-11T19:42:05Z","pull_request":{"url":"https://api.github.com/repos/linnovate/mean/pulls/1087","html_url":"https://github.com/linnovate/mean/pull/1087","diff_url":"https://github.com/linnovate/mean/pull/1087.diff","patch_url":"https://github.com/linnovate/mean/pull/1087.patch"},"body":"Changed the default format of logs from \"dev\" to \"combined\", so that we have better server side logs, and so that it will be easier to analyse logs with the ELK stack.\r\nSee https://www.npmjs.com/package/morgan for formats details.\r\n\r\nAlso added the REAL-IP to the logs, since in many cases express runs behind a proxy."},"comment":{"url":"https://api.github.com/repos/linnovate/mean/issues/comments/81946234","html_url":"https://github.com/linnovate/mean/pull/1087#issuecomment-81946234","issue_url":"https://api.github.com/repos/linnovate/mean/issues/1087","id":81946234,"user":{"login":"liorkesos","id":245027,"avatar_url":"https://avatars.githubusercontent.com/u/245027?v=3","gravatar_id":"","url":"https://api.github.com/users/liorkesos","html_url":"https://github.com/liorkesos","followers_url":"https://api.github.com/users/liorkesos/followers","following_url":"https://api.github.com/users/liorkesos/following{/other_user}","gists_url":"https://api.github.com/users/liorkesos/gists{/gist_id}","starred_url":"https://api.github.com/users/liorkesos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liorkesos/subscriptions","organizations_url":"https://api.github.com/users/liorkesos/orgs","repos_url":"https://api.github.com/users/liorkesos/repos","events_url":"https://api.github.com/users/liorkesos/events{/privacy}","received_events_url":"https://api.github.com/users/liorkesos/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T21:17:37Z","updated_at":"2015-03-16T21:17:37Z","body":"ok. thanks!\nLior\n\nOn Mon, Mar 16, 2015 at 11:13 PM, Liran Tal <notifications@github.com>\nwrote:\n\n> to just format the logs you can simply enable the 'combined' morgan\n> option, the other one 'trust proxy' which got slipped in with this commit\n> is unrelated and actually creates a security issue.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/linnovate/mean/pull/1087#issuecomment-81943868>.\n>\n\n\n\n-- \n\nLior Kesos - http://www.linnovate.net\nLinnovate - Community Infrastructure Care\nmail: lior@linnovate.net\noffice: +972 722500881\ncell: +972 524305252\nskype: liorkesos\n"}}