{"action":"closed","number":1699,"pull_request":{"url":"https://api.github.com/repos/astaxie/beego/pulls/1699","id":59920412,"html_url":"https://github.com/astaxie/beego/pull/1699","diff_url":"https://github.com/astaxie/beego/pull/1699.diff","patch_url":"https://github.com/astaxie/beego/pull/1699.patch","issue_url":"https://api.github.com/repos/astaxie/beego/issues/1699","number":1699,"state":"closed","locked":false,"title":"New logs adaptor which supports writing to multiple files","user":{"login":"quxiao","id":889819,"avatar_url":"https://avatars.githubusercontent.com/u/889819?v=3","gravatar_id":"","url":"https://api.github.com/users/quxiao","html_url":"https://github.com/quxiao","followers_url":"https://api.github.com/users/quxiao/followers","following_url":"https://api.github.com/users/quxiao/following{/other_user}","gists_url":"https://api.github.com/users/quxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/quxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quxiao/subscriptions","organizations_url":"https://api.github.com/users/quxiao/orgs","repos_url":"https://api.github.com/users/quxiao/repos","events_url":"https://api.github.com/users/quxiao/events{/privacy}","received_events_url":"https://api.github.com/users/quxiao/received_events","type":"User","site_admin":false},"body":"Add an new beego logs adaptor, which supports writing different files according to different log level in configuration.\r\n\r\nConfiguration example:\r\n\r\n        {  \r\n            \"levelfiles\": [{\r\n                \"levelnames\": [\"debug\", \"trace\"],\r\n                \"filename\": \"some.log.debug\"\r\n            },{\r\n                \"levelnames\": [\"info\"],\r\n                \"filename\": \"some.log\"\r\n            },{\r\n                \"levelnames\": [\"warning\", \"critical\"],\r\n                \"filename\": \"some.log.wf\"\r\n            }]\r\n        }\r\n","created_at":"2016-02-19T08:54:19Z","updated_at":"2016-03-08T10:32:58Z","closed_at":"2016-03-08T10:32:58Z","merged_at":null,"merge_commit_sha":"77fc81cd12ec4f2f7c89422f5c6420da992ca532","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/astaxie/beego/pulls/1699/commits","review_comments_url":"https://api.github.com/repos/astaxie/beego/pulls/1699/comments","review_comment_url":"https://api.github.com/repos/astaxie/beego/pulls/comments{/number}","comments_url":"https://api.github.com/repos/astaxie/beego/issues/1699/comments","statuses_url":"https://api.github.com/repos/astaxie/beego/statuses/1e851f621689c11a0711dcb4d7fcf58e9ca2d90d","head":{"label":"quxiao:logs_multi_file","ref":"logs_multi_file","sha":"1e851f621689c11a0711dcb4d7fcf58e9ca2d90d","user":{"login":"quxiao","id":889819,"avatar_url":"https://avatars.githubusercontent.com/u/889819?v=3","gravatar_id":"","url":"https://api.github.com/users/quxiao","html_url":"https://github.com/quxiao","followers_url":"https://api.github.com/users/quxiao/followers","following_url":"https://api.github.com/users/quxiao/following{/other_user}","gists_url":"https://api.github.com/users/quxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/quxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quxiao/subscriptions","organizations_url":"https://api.github.com/users/quxiao/orgs","repos_url":"https://api.github.com/users/quxiao/repos","events_url":"https://api.github.com/users/quxiao/events{/privacy}","received_events_url":"https://api.github.com/users/quxiao/received_events","type":"User","site_admin":false},"repo":{"id":52070118,"name":"beego","full_name":"quxiao/beego","owner":{"login":"quxiao","id":889819,"avatar_url":"https://avatars.githubusercontent.com/u/889819?v=3","gravatar_id":"","url":"https://api.github.com/users/quxiao","html_url":"https://github.com/quxiao","followers_url":"https://api.github.com/users/quxiao/followers","following_url":"https://api.github.com/users/quxiao/following{/other_user}","gists_url":"https://api.github.com/users/quxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/quxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quxiao/subscriptions","organizations_url":"https://api.github.com/users/quxiao/orgs","repos_url":"https://api.github.com/users/quxiao/repos","events_url":"https://api.github.com/users/quxiao/events{/privacy}","received_events_url":"https://api.github.com/users/quxiao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quxiao/beego","description":"beego is an open-source, high-performance web framework for the Go programming language.","fork":true,"url":"https://api.github.com/repos/quxiao/beego","forks_url":"https://api.github.com/repos/quxiao/beego/forks","keys_url":"https://api.github.com/repos/quxiao/beego/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quxiao/beego/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quxiao/beego/teams","hooks_url":"https://api.github.com/repos/quxiao/beego/hooks","issue_events_url":"https://api.github.com/repos/quxiao/beego/issues/events{/number}","events_url":"https://api.github.com/repos/quxiao/beego/events","assignees_url":"https://api.github.com/repos/quxiao/beego/assignees{/user}","branches_url":"https://api.github.com/repos/quxiao/beego/branches{/branch}","tags_url":"https://api.github.com/repos/quxiao/beego/tags","blobs_url":"https://api.github.com/repos/quxiao/beego/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quxiao/beego/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quxiao/beego/git/refs{/sha}","trees_url":"https://api.github.com/repos/quxiao/beego/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quxiao/beego/statuses/{sha}","languages_url":"https://api.github.com/repos/quxiao/beego/languages","stargazers_url":"https://api.github.com/repos/quxiao/beego/stargazers","contributors_url":"https://api.github.com/repos/quxiao/beego/contributors","subscribers_url":"https://api.github.com/repos/quxiao/beego/subscribers","subscription_url":"https://api.github.com/repos/quxiao/beego/subscription","commits_url":"https://api.github.com/repos/quxiao/beego/commits{/sha}","git_commits_url":"https://api.github.com/repos/quxiao/beego/git/commits{/sha}","comments_url":"https://api.github.com/repos/quxiao/beego/comments{/number}","issue_comment_url":"https://api.github.com/repos/quxiao/beego/issues/comments{/number}","contents_url":"https://api.github.com/repos/quxiao/beego/contents/{+path}","compare_url":"https://api.github.com/repos/quxiao/beego/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quxiao/beego/merges","archive_url":"https://api.github.com/repos/quxiao/beego/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quxiao/beego/downloads","issues_url":"https://api.github.com/repos/quxiao/beego/issues{/number}","pulls_url":"https://api.github.com/repos/quxiao/beego/pulls{/number}","milestones_url":"https://api.github.com/repos/quxiao/beego/milestones{/number}","notifications_url":"https://api.github.com/repos/quxiao/beego/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quxiao/beego/labels{/name}","releases_url":"https://api.github.com/repos/quxiao/beego/releases{/id}","deployments_url":"https://api.github.com/repos/quxiao/beego/deployments","created_at":"2016-02-19T07:36:08Z","updated_at":"2016-02-19T07:36:10Z","pushed_at":"2016-03-02T06:53:48Z","git_url":"git://github.com/quxiao/beego.git","ssh_url":"git@github.com:quxiao/beego.git","clone_url":"https://github.com/quxiao/beego.git","svn_url":"https://github.com/quxiao/beego","homepage":"beego.me","size":3434,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"astaxie:develop","ref":"develop","sha":"2b23764ee00d31ada61bc0fba64be456a6c5a87d","user":{"login":"astaxie","id":233907,"avatar_url":"https://avatars.githubusercontent.com/u/233907?v=3","gravatar_id":"","url":"https://api.github.com/users/astaxie","html_url":"https://github.com/astaxie","followers_url":"https://api.github.com/users/astaxie/followers","following_url":"https://api.github.com/users/astaxie/following{/other_user}","gists_url":"https://api.github.com/users/astaxie/gists{/gist_id}","starred_url":"https://api.github.com/users/astaxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astaxie/subscriptions","organizations_url":"https://api.github.com/users/astaxie/orgs","repos_url":"https://api.github.com/users/astaxie/repos","events_url":"https://api.github.com/users/astaxie/events{/privacy}","received_events_url":"https://api.github.com/users/astaxie/received_events","type":"User","site_admin":false},"repo":{"id":3577919,"name":"beego","full_name":"astaxie/beego","owner":{"login":"astaxie","id":233907,"avatar_url":"https://avatars.githubusercontent.com/u/233907?v=3","gravatar_id":"","url":"https://api.github.com/users/astaxie","html_url":"https://github.com/astaxie","followers_url":"https://api.github.com/users/astaxie/followers","following_url":"https://api.github.com/users/astaxie/following{/other_user}","gists_url":"https://api.github.com/users/astaxie/gists{/gist_id}","starred_url":"https://api.github.com/users/astaxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astaxie/subscriptions","organizations_url":"https://api.github.com/users/astaxie/orgs","repos_url":"https://api.github.com/users/astaxie/repos","events_url":"https://api.github.com/users/astaxie/events{/privacy}","received_events_url":"https://api.github.com/users/astaxie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/astaxie/beego","description":"beego is an open-source, high-performance web framework for the Go programming language.","fork":false,"url":"https://api.github.com/repos/astaxie/beego","forks_url":"https://api.github.com/repos/astaxie/beego/forks","keys_url":"https://api.github.com/repos/astaxie/beego/keys{/key_id}","collaborators_url":"https://api.github.com/repos/astaxie/beego/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/astaxie/beego/teams","hooks_url":"https://api.github.com/repos/astaxie/beego/hooks","issue_events_url":"https://api.github.com/repos/astaxie/beego/issues/events{/number}","events_url":"https://api.github.com/repos/astaxie/beego/events","assignees_url":"https://api.github.com/repos/astaxie/beego/assignees{/user}","branches_url":"https://api.github.com/repos/astaxie/beego/branches{/branch}","tags_url":"https://api.github.com/repos/astaxie/beego/tags","blobs_url":"https://api.github.com/repos/astaxie/beego/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/astaxie/beego/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/astaxie/beego/git/refs{/sha}","trees_url":"https://api.github.com/repos/astaxie/beego/git/trees{/sha}","statuses_url":"https://api.github.com/repos/astaxie/beego/statuses/{sha}","languages_url":"https://api.github.com/repos/astaxie/beego/languages","stargazers_url":"https://api.github.com/repos/astaxie/beego/stargazers","contributors_url":"https://api.github.com/repos/astaxie/beego/contributors","subscribers_url":"https://api.github.com/repos/astaxie/beego/subscribers","subscription_url":"https://api.github.com/repos/astaxie/beego/subscription","commits_url":"https://api.github.com/repos/astaxie/beego/commits{/sha}","git_commits_url":"https://api.github.com/repos/astaxie/beego/git/commits{/sha}","comments_url":"https://api.github.com/repos/astaxie/beego/comments{/number}","issue_comment_url":"https://api.github.com/repos/astaxie/beego/issues/comments{/number}","contents_url":"https://api.github.com/repos/astaxie/beego/contents/{+path}","compare_url":"https://api.github.com/repos/astaxie/beego/compare/{base}...{head}","merges_url":"https://api.github.com/repos/astaxie/beego/merges","archive_url":"https://api.github.com/repos/astaxie/beego/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/astaxie/beego/downloads","issues_url":"https://api.github.com/repos/astaxie/beego/issues{/number}","pulls_url":"https://api.github.com/repos/astaxie/beego/pulls{/number}","milestones_url":"https://api.github.com/repos/astaxie/beego/milestones{/number}","notifications_url":"https://api.github.com/repos/astaxie/beego/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/astaxie/beego/labels{/name}","releases_url":"https://api.github.com/repos/astaxie/beego/releases{/id}","deployments_url":"https://api.github.com/repos/astaxie/beego/deployments","created_at":"2012-02-29T02:32:08Z","updated_at":"2016-03-08T09:21:14Z","pushed_at":"2016-03-08T09:07:01Z","git_url":"git://github.com/astaxie/beego.git","ssh_url":"git@github.com:astaxie/beego.git","clone_url":"https://github.com/astaxie/beego.git","svn_url":"https://github.com/astaxie/beego","homepage":"beego.me","size":8073,"stargazers_count":6430,"watchers_count":6430,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1595,"mirror_url":null,"open_issues_count":229,"forks":1595,"open_issues":229,"watchers":6430,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/astaxie/beego/pulls/1699"},"html":{"href":"https://github.com/astaxie/beego/pull/1699"},"issue":{"href":"https://api.github.com/repos/astaxie/beego/issues/1699"},"comments":{"href":"https://api.github.com/repos/astaxie/beego/issues/1699/comments"},"review_comments":{"href":"https://api.github.com/repos/astaxie/beego/pulls/1699/comments"},"review_comment":{"href":"https://api.github.com/repos/astaxie/beego/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/astaxie/beego/pulls/1699/commits"},"statuses":{"href":"https://api.github.com/repos/astaxie/beego/statuses/1e851f621689c11a0711dcb4d7fcf58e9ca2d90d"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":3,"review_comments":0,"commits":3,"additions":339,"deletions":0,"changed_files":3}}