{"action":"closed","number":2272,"pull_request":{"url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/2272","id":91184887,"html_url":"https://github.com/openSUSE/open-build-service/pull/2272","diff_url":"https://github.com/openSUSE/open-build-service/pull/2272.diff","patch_url":"https://github.com/openSUSE/open-build-service/pull/2272.patch","issue_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/2272","number":2272,"state":"closed","locked":false,"title":"[backend] implemented debug logging","user":{"login":"lethliel","id":15608465,"avatar_url":"https://avatars.githubusercontent.com/u/15608465?v=3","gravatar_id":"","url":"https://api.github.com/users/lethliel","html_url":"https://github.com/lethliel","followers_url":"https://api.github.com/users/lethliel/followers","following_url":"https://api.github.com/users/lethliel/following{/other_user}","gists_url":"https://api.github.com/users/lethliel/gists{/gist_id}","starred_url":"https://api.github.com/users/lethliel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lethliel/subscriptions","organizations_url":"https://api.github.com/users/lethliel/orgs","repos_url":"https://api.github.com/users/lethliel/repos","events_url":"https://api.github.com/users/lethliel/events{/privacy}","received_events_url":"https://api.github.com/users/lethliel/received_events","type":"User","site_admin":false},"body":"In addition to default log messages, special debug output can now be generated. \r\nThe configuration is in **_BSConfig.pm_**\r\n\r\n```\r\nour $debuglevel = 1;\r\n```\r\nThis means all messages marked lower or equal to '1' are printed to the log. \r\n\r\nThe call to print log messages with a debug level is. In the example a debug level 1 message is generated: \r\n```\r\nBSUtil::printlog(\"This is a debug message\", 1)\r\n```\r\n\r\nand the resulting log entry is: \r\n```\r\n2016-10-26 15:11:09: [30375] [debug 1] This is a debug message\r\n```\r\n@M0ses @mlschroe please review\r\n\r\n","created_at":"2016-10-27T11:50:56Z","updated_at":"2016-10-28T13:06:42Z","closed_at":"2016-10-28T13:06:42Z","merged_at":"2016-10-28T13:06:42Z","merge_commit_sha":"131c52f0aecd8b89c876fd9396a022844538a90e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/2272/commits","review_comments_url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/2272/comments","review_comment_url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/2272/comments","statuses_url":"https://api.github.com/repos/openSUSE/open-build-service/statuses/61b0c01367dc93d3d1a4519a2fd24df8d6a103b1","head":{"label":"lethliel:new_debug_logging","ref":"new_debug_logging","sha":"61b0c01367dc93d3d1a4519a2fd24df8d6a103b1","user":{"login":"lethliel","id":15608465,"avatar_url":"https://avatars.githubusercontent.com/u/15608465?v=3","gravatar_id":"","url":"https://api.github.com/users/lethliel","html_url":"https://github.com/lethliel","followers_url":"https://api.github.com/users/lethliel/followers","following_url":"https://api.github.com/users/lethliel/following{/other_user}","gists_url":"https://api.github.com/users/lethliel/gists{/gist_id}","starred_url":"https://api.github.com/users/lethliel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lethliel/subscriptions","organizations_url":"https://api.github.com/users/lethliel/orgs","repos_url":"https://api.github.com/users/lethliel/repos","events_url":"https://api.github.com/users/lethliel/events{/privacy}","received_events_url":"https://api.github.com/users/lethliel/received_events","type":"User","site_admin":false},"repo":{"id":62912722,"name":"open-build-service","full_name":"lethliel/open-build-service","owner":{"login":"lethliel","id":15608465,"avatar_url":"https://avatars.githubusercontent.com/u/15608465?v=3","gravatar_id":"","url":"https://api.github.com/users/lethliel","html_url":"https://github.com/lethliel","followers_url":"https://api.github.com/users/lethliel/followers","following_url":"https://api.github.com/users/lethliel/following{/other_user}","gists_url":"https://api.github.com/users/lethliel/gists{/gist_id}","starred_url":"https://api.github.com/users/lethliel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lethliel/subscriptions","organizations_url":"https://api.github.com/users/lethliel/orgs","repos_url":"https://api.github.com/users/lethliel/repos","events_url":"https://api.github.com/users/lethliel/events{/privacy}","received_events_url":"https://api.github.com/users/lethliel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lethliel/open-build-service","description":"A generic system to build and distribute packages from sources in an automatic, consistent and reproducible way. Release your software for a wide range of operating systems and hardware architectures.","fork":true,"url":"https://api.github.com/repos/lethliel/open-build-service","forks_url":"https://api.github.com/repos/lethliel/open-build-service/forks","keys_url":"https://api.github.com/repos/lethliel/open-build-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lethliel/open-build-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lethliel/open-build-service/teams","hooks_url":"https://api.github.com/repos/lethliel/open-build-service/hooks","issue_events_url":"https://api.github.com/repos/lethliel/open-build-service/issues/events{/number}","events_url":"https://api.github.com/repos/lethliel/open-build-service/events","assignees_url":"https://api.github.com/repos/lethliel/open-build-service/assignees{/user}","branches_url":"https://api.github.com/repos/lethliel/open-build-service/branches{/branch}","tags_url":"https://api.github.com/repos/lethliel/open-build-service/tags","blobs_url":"https://api.github.com/repos/lethliel/open-build-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lethliel/open-build-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lethliel/open-build-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/lethliel/open-build-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lethliel/open-build-service/statuses/{sha}","languages_url":"https://api.github.com/repos/lethliel/open-build-service/languages","stargazers_url":"https://api.github.com/repos/lethliel/open-build-service/stargazers","contributors_url":"https://api.github.com/repos/lethliel/open-build-service/contributors","subscribers_url":"https://api.github.com/repos/lethliel/open-build-service/subscribers","subscription_url":"https://api.github.com/repos/lethliel/open-build-service/subscription","commits_url":"https://api.github.com/repos/lethliel/open-build-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/lethliel/open-build-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/lethliel/open-build-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/lethliel/open-build-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/lethliel/open-build-service/contents/{+path}","compare_url":"https://api.github.com/repos/lethliel/open-build-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lethliel/open-build-service/merges","archive_url":"https://api.github.com/repos/lethliel/open-build-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lethliel/open-build-service/downloads","issues_url":"https://api.github.com/repos/lethliel/open-build-service/issues{/number}","pulls_url":"https://api.github.com/repos/lethliel/open-build-service/pulls{/number}","milestones_url":"https://api.github.com/repos/lethliel/open-build-service/milestones{/number}","notifications_url":"https://api.github.com/repos/lethliel/open-build-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lethliel/open-build-service/labels{/name}","releases_url":"https://api.github.com/repos/lethliel/open-build-service/releases{/id}","deployments_url":"https://api.github.com/repos/lethliel/open-build-service/deployments","created_at":"2016-07-08T19:34:29Z","updated_at":"2016-07-08T19:34:34Z","pushed_at":"2016-10-28T08:16:46Z","git_url":"git://github.com/lethliel/open-build-service.git","ssh_url":"git@github.com:lethliel/open-build-service.git","clone_url":"https://github.com/lethliel/open-build-service.git","svn_url":"https://github.com/lethliel/open-build-service","homepage":"http://openbuildservice.org/","size":45787,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"openSUSE:master","ref":"master","sha":"244b7e5f8161266ee90266bf2f4db81626734c30","user":{"login":"openSUSE","id":623819,"avatar_url":"https://avatars.githubusercontent.com/u/623819?v=3","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":2046192,"name":"open-build-service","full_name":"openSUSE/open-build-service","owner":{"login":"openSUSE","id":623819,"avatar_url":"https://avatars.githubusercontent.com/u/623819?v=3","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openSUSE/open-build-service","description":"A generic system to build and distribute packages from sources in an automatic, consistent and reproducible way. Release your software for a wide range of operating systems and hardware architectures.","fork":false,"url":"https://api.github.com/repos/openSUSE/open-build-service","forks_url":"https://api.github.com/repos/openSUSE/open-build-service/forks","keys_url":"https://api.github.com/repos/openSUSE/open-build-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openSUSE/open-build-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openSUSE/open-build-service/teams","hooks_url":"https://api.github.com/repos/openSUSE/open-build-service/hooks","issue_events_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/events{/number}","events_url":"https://api.github.com/repos/openSUSE/open-build-service/events","assignees_url":"https://api.github.com/repos/openSUSE/open-build-service/assignees{/user}","branches_url":"https://api.github.com/repos/openSUSE/open-build-service/branches{/branch}","tags_url":"https://api.github.com/repos/openSUSE/open-build-service/tags","blobs_url":"https://api.github.com/repos/openSUSE/open-build-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openSUSE/open-build-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openSUSE/open-build-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/openSUSE/open-build-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openSUSE/open-build-service/statuses/{sha}","languages_url":"https://api.github.com/repos/openSUSE/open-build-service/languages","stargazers_url":"https://api.github.com/repos/openSUSE/open-build-service/stargazers","contributors_url":"https://api.github.com/repos/openSUSE/open-build-service/contributors","subscribers_url":"https://api.github.com/repos/openSUSE/open-build-service/subscribers","subscription_url":"https://api.github.com/repos/openSUSE/open-build-service/subscription","commits_url":"https://api.github.com/repos/openSUSE/open-build-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/openSUSE/open-build-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/openSUSE/open-build-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/openSUSE/open-build-service/contents/{+path}","compare_url":"https://api.github.com/repos/openSUSE/open-build-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openSUSE/open-build-service/merges","archive_url":"https://api.github.com/repos/openSUSE/open-build-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openSUSE/open-build-service/downloads","issues_url":"https://api.github.com/repos/openSUSE/open-build-service/issues{/number}","pulls_url":"https://api.github.com/repos/openSUSE/open-build-service/pulls{/number}","milestones_url":"https://api.github.com/repos/openSUSE/open-build-service/milestones{/number}","notifications_url":"https://api.github.com/repos/openSUSE/open-build-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openSUSE/open-build-service/labels{/name}","releases_url":"https://api.github.com/repos/openSUSE/open-build-service/releases{/id}","deployments_url":"https://api.github.com/repos/openSUSE/open-build-service/deployments","created_at":"2011-07-14T06:52:57Z","updated_at":"2016-10-27T18:40:32Z","pushed_at":"2016-10-28T13:06:42Z","git_url":"git://github.com/openSUSE/open-build-service.git","ssh_url":"git@github.com:openSUSE/open-build-service.git","clone_url":"https://github.com/openSUSE/open-build-service.git","svn_url":"https://github.com/openSUSE/open-build-service","homepage":"http://openbuildservice.org/","size":55217,"stargazers_count":228,"watchers_count":228,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":173,"mirror_url":null,"open_issues_count":297,"forks":173,"open_issues":297,"watchers":228,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openSUSE/open-build-service/pulls/2272"},"html":{"href":"https://github.com/openSUSE/open-build-service/pull/2272"},"issue":{"href":"https://api.github.com/repos/openSUSE/open-build-service/issues/2272"},"comments":{"href":"https://api.github.com/repos/openSUSE/open-build-service/issues/2272/comments"},"review_comments":{"href":"https://api.github.com/repos/openSUSE/open-build-service/pulls/2272/comments"},"review_comment":{"href":"https://api.github.com/repos/openSUSE/open-build-service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openSUSE/open-build-service/pulls/2272/commits"},"statuses":{"href":"https://api.github.com/repos/openSUSE/open-build-service/statuses/61b0c01367dc93d3d1a4519a2fd24df8d6a103b1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lethliel","id":15608465,"avatar_url":"https://avatars.githubusercontent.com/u/15608465?v=3","gravatar_id":"","url":"https://api.github.com/users/lethliel","html_url":"https://github.com/lethliel","followers_url":"https://api.github.com/users/lethliel/followers","following_url":"https://api.github.com/users/lethliel/following{/other_user}","gists_url":"https://api.github.com/users/lethliel/gists{/gist_id}","starred_url":"https://api.github.com/users/lethliel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lethliel/subscriptions","organizations_url":"https://api.github.com/users/lethliel/orgs","repos_url":"https://api.github.com/users/lethliel/repos","events_url":"https://api.github.com/users/lethliel/events{/privacy}","received_events_url":"https://api.github.com/users/lethliel/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":46,"deletions":4,"changed_files":5}}
{"actor":{"display_login":"lethliel"}}