{"action":"closed","number":1506,"pull_request":{"url":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/1506","id":45650608,"html_url":"https://github.com/alchemy-fr/Phraseanet/pull/1506","diff_url":"https://github.com/alchemy-fr/Phraseanet/pull/1506.diff","patch_url":"https://github.com/alchemy-fr/Phraseanet/pull/1506.patch","issue_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/issues/1506","number":1506,"state":"closed","locked":false,"title":"Logging","user":{"login":"aztech-dev","id":5682430,"avatar_url":"https://avatars.githubusercontent.com/u/5682430?v=3","gravatar_id":"","url":"https://api.github.com/users/aztech-dev","html_url":"https://github.com/aztech-dev","followers_url":"https://api.github.com/users/aztech-dev/followers","following_url":"https://api.github.com/users/aztech-dev/following{/other_user}","gists_url":"https://api.github.com/users/aztech-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/aztech-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aztech-dev/subscriptions","organizations_url":"https://api.github.com/users/aztech-dev/orgs","repos_url":"https://api.github.com/users/aztech-dev/repos","events_url":"https://api.github.com/users/aztech-dev/events{/privacy}","received_events_url":"https://api.github.com/users/aztech-dev/received_events","type":"User","site_admin":false},"body":"Current version provides very little insight on errors happening in production, as all caught exceptions are inhibited by the exception handler.\r\n\r\nThis P/R aims to fix that by:\r\n\r\n- Using a SyslogHandler with Monolog to push messages with a level of Error or more to syslog\r\n- Log exceptions with a 500 status code as errors\r\n- Remove introspection handler which adds little value to the logs and has a performance penalty","created_at":"2015-09-22T11:07:25Z","updated_at":"2015-09-29T13:49:44Z","closed_at":"2015-09-29T13:49:44Z","merged_at":"2015-09-29T13:49:44Z","merge_commit_sha":"0fe141e855cafe57d19107bbb5e119f69aadccd7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/1506/commits","review_comments_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/1506/comments","review_comment_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/issues/1506/comments","statuses_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/statuses/9669305745af6c004471f1fb0101fc15faa9d1af","head":{"label":"aztech-dev:logging","ref":"logging","sha":"9669305745af6c004471f1fb0101fc15faa9d1af","user":{"login":"aztech-dev","id":5682430,"avatar_url":"https://avatars.githubusercontent.com/u/5682430?v=3","gravatar_id":"","url":"https://api.github.com/users/aztech-dev","html_url":"https://github.com/aztech-dev","followers_url":"https://api.github.com/users/aztech-dev/followers","following_url":"https://api.github.com/users/aztech-dev/following{/other_user}","gists_url":"https://api.github.com/users/aztech-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/aztech-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aztech-dev/subscriptions","organizations_url":"https://api.github.com/users/aztech-dev/orgs","repos_url":"https://api.github.com/users/aztech-dev/repos","events_url":"https://api.github.com/users/aztech-dev/events{/privacy}","received_events_url":"https://api.github.com/users/aztech-dev/received_events","type":"User","site_admin":false},"repo":{"id":34103750,"name":"Phraseanet","full_name":"aztech-dev/Phraseanet","owner":{"login":"aztech-dev","id":5682430,"avatar_url":"https://avatars.githubusercontent.com/u/5682430?v=3","gravatar_id":"","url":"https://api.github.com/users/aztech-dev","html_url":"https://github.com/aztech-dev","followers_url":"https://api.github.com/users/aztech-dev/followers","following_url":"https://api.github.com/users/aztech-dev/following{/other_user}","gists_url":"https://api.github.com/users/aztech-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/aztech-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aztech-dev/subscriptions","organizations_url":"https://api.github.com/users/aztech-dev/orgs","repos_url":"https://api.github.com/users/aztech-dev/repos","events_url":"https://api.github.com/users/aztech-dev/events{/privacy}","received_events_url":"https://api.github.com/users/aztech-dev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aztech-dev/Phraseanet","description":"Digital Asset Management PHP app","fork":true,"url":"https://api.github.com/repos/aztech-dev/Phraseanet","forks_url":"https://api.github.com/repos/aztech-dev/Phraseanet/forks","keys_url":"https://api.github.com/repos/aztech-dev/Phraseanet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aztech-dev/Phraseanet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aztech-dev/Phraseanet/teams","hooks_url":"https://api.github.com/repos/aztech-dev/Phraseanet/hooks","issue_events_url":"https://api.github.com/repos/aztech-dev/Phraseanet/issues/events{/number}","events_url":"https://api.github.com/repos/aztech-dev/Phraseanet/events","assignees_url":"https://api.github.com/repos/aztech-dev/Phraseanet/assignees{/user}","branches_url":"https://api.github.com/repos/aztech-dev/Phraseanet/branches{/branch}","tags_url":"https://api.github.com/repos/aztech-dev/Phraseanet/tags","blobs_url":"https://api.github.com/repos/aztech-dev/Phraseanet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aztech-dev/Phraseanet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aztech-dev/Phraseanet/git/refs{/sha}","trees_url":"https://api.github.com/repos/aztech-dev/Phraseanet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aztech-dev/Phraseanet/statuses/{sha}","languages_url":"https://api.github.com/repos/aztech-dev/Phraseanet/languages","stargazers_url":"https://api.github.com/repos/aztech-dev/Phraseanet/stargazers","contributors_url":"https://api.github.com/repos/aztech-dev/Phraseanet/contributors","subscribers_url":"https://api.github.com/repos/aztech-dev/Phraseanet/subscribers","subscription_url":"https://api.github.com/repos/aztech-dev/Phraseanet/subscription","commits_url":"https://api.github.com/repos/aztech-dev/Phraseanet/commits{/sha}","git_commits_url":"https://api.github.com/repos/aztech-dev/Phraseanet/git/commits{/sha}","comments_url":"https://api.github.com/repos/aztech-dev/Phraseanet/comments{/number}","issue_comment_url":"https://api.github.com/repos/aztech-dev/Phraseanet/issues/comments{/number}","contents_url":"https://api.github.com/repos/aztech-dev/Phraseanet/contents/{+path}","compare_url":"https://api.github.com/repos/aztech-dev/Phraseanet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aztech-dev/Phraseanet/merges","archive_url":"https://api.github.com/repos/aztech-dev/Phraseanet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aztech-dev/Phraseanet/downloads","issues_url":"https://api.github.com/repos/aztech-dev/Phraseanet/issues{/number}","pulls_url":"https://api.github.com/repos/aztech-dev/Phraseanet/pulls{/number}","milestones_url":"https://api.github.com/repos/aztech-dev/Phraseanet/milestones{/number}","notifications_url":"https://api.github.com/repos/aztech-dev/Phraseanet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aztech-dev/Phraseanet/labels{/name}","releases_url":"https://api.github.com/repos/aztech-dev/Phraseanet/releases{/id}","created_at":"2015-04-17T07:51:50Z","updated_at":"2015-04-18T08:24:46Z","pushed_at":"2015-09-28T15:05:58Z","git_url":"git://github.com/aztech-dev/Phraseanet.git","ssh_url":"git@github.com:aztech-dev/Phraseanet.git","clone_url":"https://github.com/aztech-dev/Phraseanet.git","svn_url":"https://github.com/aztech-dev/Phraseanet","homepage":"http://www.phraseanet.com","size":231189,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"alchemy-fr:master","ref":"master","sha":"03e582df29d4ed5ee4b3d60949ef6ccc2702e4e1","user":{"login":"alchemy-fr","id":621336,"avatar_url":"https://avatars.githubusercontent.com/u/621336?v=3","gravatar_id":"","url":"https://api.github.com/users/alchemy-fr","html_url":"https://github.com/alchemy-fr","followers_url":"https://api.github.com/users/alchemy-fr/followers","following_url":"https://api.github.com/users/alchemy-fr/following{/other_user}","gists_url":"https://api.github.com/users/alchemy-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/alchemy-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alchemy-fr/subscriptions","organizations_url":"https://api.github.com/users/alchemy-fr/orgs","repos_url":"https://api.github.com/users/alchemy-fr/repos","events_url":"https://api.github.com/users/alchemy-fr/events{/privacy}","received_events_url":"https://api.github.com/users/alchemy-fr/received_events","type":"Organization","site_admin":false},"repo":{"id":1374101,"name":"Phraseanet","full_name":"alchemy-fr/Phraseanet","owner":{"login":"alchemy-fr","id":621336,"avatar_url":"https://avatars.githubusercontent.com/u/621336?v=3","gravatar_id":"","url":"https://api.github.com/users/alchemy-fr","html_url":"https://github.com/alchemy-fr","followers_url":"https://api.github.com/users/alchemy-fr/followers","following_url":"https://api.github.com/users/alchemy-fr/following{/other_user}","gists_url":"https://api.github.com/users/alchemy-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/alchemy-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alchemy-fr/subscriptions","organizations_url":"https://api.github.com/users/alchemy-fr/orgs","repos_url":"https://api.github.com/users/alchemy-fr/repos","events_url":"https://api.github.com/users/alchemy-fr/events{/privacy}","received_events_url":"https://api.github.com/users/alchemy-fr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alchemy-fr/Phraseanet","description":"Digital Asset Management PHP app","fork":false,"url":"https://api.github.com/repos/alchemy-fr/Phraseanet","forks_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/forks","keys_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/teams","hooks_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/hooks","issue_events_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/issues/events{/number}","events_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/events","assignees_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/assignees{/user}","branches_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/branches{/branch}","tags_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/tags","blobs_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/git/refs{/sha}","trees_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/statuses/{sha}","languages_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/languages","stargazers_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/stargazers","contributors_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/contributors","subscribers_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/subscribers","subscription_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/subscription","commits_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/commits{/sha}","git_commits_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/git/commits{/sha}","comments_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/comments{/number}","issue_comment_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/issues/comments{/number}","contents_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/contents/{+path}","compare_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/merges","archive_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/downloads","issues_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/issues{/number}","pulls_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls{/number}","milestones_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/milestones{/number}","notifications_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/labels{/name}","releases_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/releases{/id}","created_at":"2011-02-16T14:55:31Z","updated_at":"2015-08-21T05:14:23Z","pushed_at":"2015-09-29T13:49:44Z","git_url":"git://github.com/alchemy-fr/Phraseanet.git","ssh_url":"git@github.com:alchemy-fr/Phraseanet.git","clone_url":"https://github.com/alchemy-fr/Phraseanet.git","svn_url":"https://github.com/alchemy-fr/Phraseanet","homepage":"http://www.phraseanet.com","size":240209,"stargazers_count":63,"watchers_count":63,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":6,"forks":27,"open_issues":6,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/1506"},"html":{"href":"https://github.com/alchemy-fr/Phraseanet/pull/1506"},"issue":{"href":"https://api.github.com/repos/alchemy-fr/Phraseanet/issues/1506"},"comments":{"href":"https://api.github.com/repos/alchemy-fr/Phraseanet/issues/1506/comments"},"review_comments":{"href":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/1506/comments"},"review_comment":{"href":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/1506/commits"},"statuses":{"href":"https://api.github.com/repos/alchemy-fr/Phraseanet/statuses/9669305745af6c004471f1fb0101fc15faa9d1af"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"aztech-dev","id":5682430,"avatar_url":"https://avatars.githubusercontent.com/u/5682430?v=3","gravatar_id":"","url":"https://api.github.com/users/aztech-dev","html_url":"https://github.com/aztech-dev","followers_url":"https://api.github.com/users/aztech-dev/followers","following_url":"https://api.github.com/users/aztech-dev/following{/other_user}","gists_url":"https://api.github.com/users/aztech-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/aztech-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aztech-dev/subscriptions","organizations_url":"https://api.github.com/users/aztech-dev/orgs","repos_url":"https://api.github.com/users/aztech-dev/repos","events_url":"https://api.github.com/users/aztech-dev/events{/privacy}","received_events_url":"https://api.github.com/users/aztech-dev/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":26,"deletions":8,"changed_files":4}}