{"action":"closed","number":154,"pull_request":{"url":"https://api.github.com/repos/cuappdev/podcast-backend/pulls/154","id":152119471,"html_url":"https://github.com/cuappdev/podcast-backend/pull/154","diff_url":"https://github.com/cuappdev/podcast-backend/pull/154.diff","patch_url":"https://github.com/cuappdev/podcast-backend/pull/154.patch","issue_url":"https://api.github.com/repos/cuappdev/podcast-backend/issues/154","number":154,"state":"closed","locked":false,"title":"Implement logging","user":{"login":"ChenJesse","id":11747956,"avatar_url":"https://avatars3.githubusercontent.com/u/11747956?v=4","gravatar_id":"","url":"https://api.github.com/users/ChenJesse","html_url":"https://github.com/ChenJesse","followers_url":"https://api.github.com/users/ChenJesse/followers","following_url":"https://api.github.com/users/ChenJesse/following{/other_user}","gists_url":"https://api.github.com/users/ChenJesse/gists{/gist_id}","starred_url":"https://api.github.com/users/ChenJesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChenJesse/subscriptions","organizations_url":"https://api.github.com/users/ChenJesse/orgs","repos_url":"https://api.github.com/users/ChenJesse/repos","events_url":"https://api.github.com/users/ChenJesse/events{/privacy}","received_events_url":"https://api.github.com/users/ChenJesse/received_events","type":"User","site_admin":false},"body":"Log looks like\r\n```\r\n2017-11-12 14:06; INFO; (follower_id: 7193, followed_id: 7194) following created\r\n2017-11-12 14:06; INFO; (follower_id: 7193, followed_id: 7195) following created\r\n2017-11-12 14:06; INFO; (follower_id: 7196, followed_id: 7197) following created\r\n2017-11-12 14:06; INFO; (follower_id: 7196, followed_id: 7197) following deleted\r\n2017-11-12 14:06; INFO; (follower_id: 7199, followed_id: 7200) following created\r\n2017-11-12 14:06; INFO; (follower_id: 7205, followed_id: 7206) following created\r\n2017-11-12 14:06; INFO; (follower_id: 7205, followed_id: 7206) following deleted\r\n2017-11-12 14:06; INFO; (follower_id: 7208, followed_id: 7209) following created\r\n2017-11-12 14:06; INFO; (follower_id: 7208, followed_id: 7210) following created\r\n2017-11-12 14:06; INFO; (follower_id: 7211, followed_id: 7212) following created\r\n2017-11-12 14:06; INFO; (follower_id: 7211, followed_id: 7212) following deleted\r\n2017-11-12 14:06; INFO; (follower_id: 7214, followed_id: 7215) following created\r\n2017-11-12 14:06; INFO; (follower_id: 7220, followed_id: 7221) following created\r\n2017-11-12 14:06; INFO; (follower_id: 7220, followed_id: 7221) following deleted\r\n```\r\n\r\nThey are stored in `podcast-backend/src/app/logs`, and are named with the year-month-day, like `info-2017-Nov-12.log`. Configured to rotate through 5 backup files so it doesn't become just 1 massive log","created_at":"2017-11-12T19:39:47Z","updated_at":"2017-11-16T02:55:41Z","closed_at":"2017-11-16T02:55:41Z","merged_at":"2017-11-16T02:55:41Z","merge_commit_sha":"d791bd5b3536cdd2e1e7020ce62ab60d509a3e99","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/cuappdev/podcast-backend/pulls/154/commits","review_comments_url":"https://api.github.com/repos/cuappdev/podcast-backend/pulls/154/comments","review_comment_url":"https://api.github.com/repos/cuappdev/podcast-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cuappdev/podcast-backend/issues/154/comments","statuses_url":"https://api.github.com/repos/cuappdev/podcast-backend/statuses/e642be380a83d7fe7f3ea6e045bb4f2bf5d73974","head":{"label":"cuappdev:jesse/logging","ref":"jesse/logging","sha":"e642be380a83d7fe7f3ea6e045bb4f2bf5d73974","user":{"login":"cuappdev","id":17533691,"avatar_url":"https://avatars0.githubusercontent.com/u/17533691?v=4","gravatar_id":"","url":"https://api.github.com/users/cuappdev","html_url":"https://github.com/cuappdev","followers_url":"https://api.github.com/users/cuappdev/followers","following_url":"https://api.github.com/users/cuappdev/following{/other_user}","gists_url":"https://api.github.com/users/cuappdev/gists{/gist_id}","starred_url":"https://api.github.com/users/cuappdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuappdev/subscriptions","organizations_url":"https://api.github.com/users/cuappdev/orgs","repos_url":"https://api.github.com/users/cuappdev/repos","events_url":"https://api.github.com/users/cuappdev/events{/privacy}","received_events_url":"https://api.github.com/users/cuappdev/received_events","type":"Organization","site_admin":false},"repo":{"id":81837569,"name":"podcast-backend","full_name":"cuappdev/podcast-backend","owner":{"login":"cuappdev","id":17533691,"avatar_url":"https://avatars0.githubusercontent.com/u/17533691?v=4","gravatar_id":"","url":"https://api.github.com/users/cuappdev","html_url":"https://github.com/cuappdev","followers_url":"https://api.github.com/users/cuappdev/followers","following_url":"https://api.github.com/users/cuappdev/following{/other_user}","gists_url":"https://api.github.com/users/cuappdev/gists{/gist_id}","starred_url":"https://api.github.com/users/cuappdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuappdev/subscriptions","organizations_url":"https://api.github.com/users/cuappdev/orgs","repos_url":"https://api.github.com/users/cuappdev/repos","events_url":"https://api.github.com/users/cuappdev/events{/privacy}","received_events_url":"https://api.github.com/users/cuappdev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cuappdev/podcast-backend","description":"Podcast backend app layer","fork":false,"url":"https://api.github.com/repos/cuappdev/podcast-backend","forks_url":"https://api.github.com/repos/cuappdev/podcast-backend/forks","keys_url":"https://api.github.com/repos/cuappdev/podcast-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cuappdev/podcast-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cuappdev/podcast-backend/teams","hooks_url":"https://api.github.com/repos/cuappdev/podcast-backend/hooks","issue_events_url":"https://api.github.com/repos/cuappdev/podcast-backend/issues/events{/number}","events_url":"https://api.github.com/repos/cuappdev/podcast-backend/events","assignees_url":"https://api.github.com/repos/cuappdev/podcast-backend/assignees{/user}","branches_url":"https://api.github.com/repos/cuappdev/podcast-backend/branches{/branch}","tags_url":"https://api.github.com/repos/cuappdev/podcast-backend/tags","blobs_url":"https://api.github.com/repos/cuappdev/podcast-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cuappdev/podcast-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cuappdev/podcast-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/cuappdev/podcast-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cuappdev/podcast-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/cuappdev/podcast-backend/languages","stargazers_url":"https://api.github.com/repos/cuappdev/podcast-backend/stargazers","contributors_url":"https://api.github.com/repos/cuappdev/podcast-backend/contributors","subscribers_url":"https://api.github.com/repos/cuappdev/podcast-backend/subscribers","subscription_url":"https://api.github.com/repos/cuappdev/podcast-backend/subscription","commits_url":"https://api.github.com/repos/cuappdev/podcast-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/cuappdev/podcast-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/cuappdev/podcast-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/cuappdev/podcast-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/cuappdev/podcast-backend/contents/{+path}","compare_url":"https://api.github.com/repos/cuappdev/podcast-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cuappdev/podcast-backend/merges","archive_url":"https://api.github.com/repos/cuappdev/podcast-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cuappdev/podcast-backend/downloads","issues_url":"https://api.github.com/repos/cuappdev/podcast-backend/issues{/number}","pulls_url":"https://api.github.com/repos/cuappdev/podcast-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/cuappdev/podcast-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/cuappdev/podcast-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cuappdev/podcast-backend/labels{/name}","releases_url":"https://api.github.com/repos/cuappdev/podcast-backend/releases{/id}","deployments_url":"https://api.github.com/repos/cuappdev/podcast-backend/deployments","created_at":"2017-02-13T15:07:21Z","updated_at":"2017-11-01T03:50:19Z","pushed_at":"2017-11-16T02:55:41Z","git_url":"git://github.com/cuappdev/podcast-backend.git","ssh_url":"git@github.com:cuappdev/podcast-backend.git","clone_url":"https://github.com/cuappdev/podcast-backend.git","svn_url":"https://github.com/cuappdev/podcast-backend","homepage":"","size":27599,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":22,"forks":0,"open_issues":22,"watchers":2,"default_branch":"master"}},"base":{"label":"cuappdev:master","ref":"master","sha":"b520a11e593d90ee499130ba8e3d7c3e7b47bf12","user":{"login":"cuappdev","id":17533691,"avatar_url":"https://avatars0.githubusercontent.com/u/17533691?v=4","gravatar_id":"","url":"https://api.github.com/users/cuappdev","html_url":"https://github.com/cuappdev","followers_url":"https://api.github.com/users/cuappdev/followers","following_url":"https://api.github.com/users/cuappdev/following{/other_user}","gists_url":"https://api.github.com/users/cuappdev/gists{/gist_id}","starred_url":"https://api.github.com/users/cuappdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuappdev/subscriptions","organizations_url":"https://api.github.com/users/cuappdev/orgs","repos_url":"https://api.github.com/users/cuappdev/repos","events_url":"https://api.github.com/users/cuappdev/events{/privacy}","received_events_url":"https://api.github.com/users/cuappdev/received_events","type":"Organization","site_admin":false},"repo":{"id":81837569,"name":"podcast-backend","full_name":"cuappdev/podcast-backend","owner":{"login":"cuappdev","id":17533691,"avatar_url":"https://avatars0.githubusercontent.com/u/17533691?v=4","gravatar_id":"","url":"https://api.github.com/users/cuappdev","html_url":"https://github.com/cuappdev","followers_url":"https://api.github.com/users/cuappdev/followers","following_url":"https://api.github.com/users/cuappdev/following{/other_user}","gists_url":"https://api.github.com/users/cuappdev/gists{/gist_id}","starred_url":"https://api.github.com/users/cuappdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuappdev/subscriptions","organizations_url":"https://api.github.com/users/cuappdev/orgs","repos_url":"https://api.github.com/users/cuappdev/repos","events_url":"https://api.github.com/users/cuappdev/events{/privacy}","received_events_url":"https://api.github.com/users/cuappdev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cuappdev/podcast-backend","description":"Podcast backend app layer","fork":false,"url":"https://api.github.com/repos/cuappdev/podcast-backend","forks_url":"https://api.github.com/repos/cuappdev/podcast-backend/forks","keys_url":"https://api.github.com/repos/cuappdev/podcast-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cuappdev/podcast-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cuappdev/podcast-backend/teams","hooks_url":"https://api.github.com/repos/cuappdev/podcast-backend/hooks","issue_events_url":"https://api.github.com/repos/cuappdev/podcast-backend/issues/events{/number}","events_url":"https://api.github.com/repos/cuappdev/podcast-backend/events","assignees_url":"https://api.github.com/repos/cuappdev/podcast-backend/assignees{/user}","branches_url":"https://api.github.com/repos/cuappdev/podcast-backend/branches{/branch}","tags_url":"https://api.github.com/repos/cuappdev/podcast-backend/tags","blobs_url":"https://api.github.com/repos/cuappdev/podcast-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cuappdev/podcast-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cuappdev/podcast-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/cuappdev/podcast-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cuappdev/podcast-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/cuappdev/podcast-backend/languages","stargazers_url":"https://api.github.com/repos/cuappdev/podcast-backend/stargazers","contributors_url":"https://api.github.com/repos/cuappdev/podcast-backend/contributors","subscribers_url":"https://api.github.com/repos/cuappdev/podcast-backend/subscribers","subscription_url":"https://api.github.com/repos/cuappdev/podcast-backend/subscription","commits_url":"https://api.github.com/repos/cuappdev/podcast-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/cuappdev/podcast-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/cuappdev/podcast-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/cuappdev/podcast-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/cuappdev/podcast-backend/contents/{+path}","compare_url":"https://api.github.com/repos/cuappdev/podcast-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cuappdev/podcast-backend/merges","archive_url":"https://api.github.com/repos/cuappdev/podcast-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cuappdev/podcast-backend/downloads","issues_url":"https://api.github.com/repos/cuappdev/podcast-backend/issues{/number}","pulls_url":"https://api.github.com/repos/cuappdev/podcast-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/cuappdev/podcast-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/cuappdev/podcast-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cuappdev/podcast-backend/labels{/name}","releases_url":"https://api.github.com/repos/cuappdev/podcast-backend/releases{/id}","deployments_url":"https://api.github.com/repos/cuappdev/podcast-backend/deployments","created_at":"2017-02-13T15:07:21Z","updated_at":"2017-11-01T03:50:19Z","pushed_at":"2017-11-16T02:55:41Z","git_url":"git://github.com/cuappdev/podcast-backend.git","ssh_url":"git@github.com:cuappdev/podcast-backend.git","clone_url":"https://github.com/cuappdev/podcast-backend.git","svn_url":"https://github.com/cuappdev/podcast-backend","homepage":"","size":27599,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":22,"forks":0,"open_issues":22,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cuappdev/podcast-backend/pulls/154"},"html":{"href":"https://github.com/cuappdev/podcast-backend/pull/154"},"issue":{"href":"https://api.github.com/repos/cuappdev/podcast-backend/issues/154"},"comments":{"href":"https://api.github.com/repos/cuappdev/podcast-backend/issues/154/comments"},"review_comments":{"href":"https://api.github.com/repos/cuappdev/podcast-backend/pulls/154/comments"},"review_comment":{"href":"https://api.github.com/repos/cuappdev/podcast-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cuappdev/podcast-backend/pulls/154/commits"},"statuses":{"href":"https://api.github.com/repos/cuappdev/podcast-backend/statuses/e642be380a83d7fe7f3ea6e045bb4f2bf5d73974"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"ChenJesse","id":11747956,"avatar_url":"https://avatars3.githubusercontent.com/u/11747956?v=4","gravatar_id":"","url":"https://api.github.com/users/ChenJesse","html_url":"https://github.com/ChenJesse","followers_url":"https://api.github.com/users/ChenJesse/followers","following_url":"https://api.github.com/users/ChenJesse/following{/other_user}","gists_url":"https://api.github.com/users/ChenJesse/gists{/gist_id}","starred_url":"https://api.github.com/users/ChenJesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChenJesse/subscriptions","organizations_url":"https://api.github.com/users/ChenJesse/orgs","repos_url":"https://api.github.com/users/ChenJesse/repos","events_url":"https://api.github.com/users/ChenJesse/events{/privacy}","received_events_url":"https://api.github.com/users/ChenJesse/received_events","type":"User","site_admin":false},"comments":2,"review_comments":1,"maintainer_can_modify":false,"commits":1,"additions":102,"deletions":27,"changed_files":17}}
{"actor":{"display_login":"ChenJesse"}}