{"action":"opened","number":688,"pull_request":{"url":"https://api.github.com/repos/RexOps/Rex/pulls/688","id":35535819,"html_url":"https://github.com/RexOps/Rex/pull/688","diff_url":"https://github.com/RexOps/Rex/pull/688.diff","patch_url":"https://github.com/RexOps/Rex/pull/688.patch","issue_url":"https://api.github.com/repos/RexOps/Rex/issues/688","number":688,"state":"open","locked":false,"title":"Log STDERR on errors where auto_die is enabled","user":{"login":"kopytov","id":1880291,"avatar_url":"https://avatars.githubusercontent.com/u/1880291?v=3","gravatar_id":"","url":"https://api.github.com/users/kopytov","html_url":"https://github.com/kopytov","followers_url":"https://api.github.com/users/kopytov/followers","following_url":"https://api.github.com/users/kopytov/following{/other_user}","gists_url":"https://api.github.com/users/kopytov/gists{/gist_id}","starred_url":"https://api.github.com/users/kopytov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kopytov/subscriptions","organizations_url":"https://api.github.com/users/kopytov/orgs","repos_url":"https://api.github.com/users/kopytov/repos","events_url":"https://api.github.com/users/kopytov/events{/privacy}","received_events_url":"https://api.github.com/users/kopytov/received_events","type":"User","site_admin":false},"body":"When executed command fails it usualy writes error message to STDERR. But rex's \"run\" doesn't put it to the log and you often do not undestand what goes wrong. To analyze the problem you have to run rex again with -d option and it is not useful if your task is not idempotent or executing for a long time.\r\n\r\nThis patch simply adds STDERR to a log message.","created_at":"2015-05-15T17:58:50Z","updated_at":"2015-05-15T17:58:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RexOps/Rex/pulls/688/commits","review_comments_url":"https://api.github.com/repos/RexOps/Rex/pulls/688/comments","review_comment_url":"https://api.github.com/repos/RexOps/Rex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RexOps/Rex/issues/688/comments","statuses_url":"https://api.github.com/repos/RexOps/Rex/statuses/9b24a5d8e17c2e43d0935fee9bec9d3ff4849722","head":{"label":"kopytov:logstderr","ref":"logstderr","sha":"9b24a5d8e17c2e43d0935fee9bec9d3ff4849722","user":{"login":"kopytov","id":1880291,"avatar_url":"https://avatars.githubusercontent.com/u/1880291?v=3","gravatar_id":"","url":"https://api.github.com/users/kopytov","html_url":"https://github.com/kopytov","followers_url":"https://api.github.com/users/kopytov/followers","following_url":"https://api.github.com/users/kopytov/following{/other_user}","gists_url":"https://api.github.com/users/kopytov/gists{/gist_id}","starred_url":"https://api.github.com/users/kopytov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kopytov/subscriptions","organizations_url":"https://api.github.com/users/kopytov/orgs","repos_url":"https://api.github.com/users/kopytov/repos","events_url":"https://api.github.com/users/kopytov/events{/privacy}","received_events_url":"https://api.github.com/users/kopytov/received_events","type":"User","site_admin":false},"repo":{"id":35687068,"name":"Rex","full_name":"kopytov/Rex","owner":{"login":"kopytov","id":1880291,"avatar_url":"https://avatars.githubusercontent.com/u/1880291?v=3","gravatar_id":"","url":"https://api.github.com/users/kopytov","html_url":"https://github.com/kopytov","followers_url":"https://api.github.com/users/kopytov/followers","following_url":"https://api.github.com/users/kopytov/following{/other_user}","gists_url":"https://api.github.com/users/kopytov/gists{/gist_id}","starred_url":"https://api.github.com/users/kopytov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kopytov/subscriptions","organizations_url":"https://api.github.com/users/kopytov/orgs","repos_url":"https://api.github.com/users/kopytov/repos","events_url":"https://api.github.com/users/kopytov/events{/privacy}","received_events_url":"https://api.github.com/users/kopytov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kopytov/Rex","description":"A framework for server orchestration and to simplify system administration","fork":true,"url":"https://api.github.com/repos/kopytov/Rex","forks_url":"https://api.github.com/repos/kopytov/Rex/forks","keys_url":"https://api.github.com/repos/kopytov/Rex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kopytov/Rex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kopytov/Rex/teams","hooks_url":"https://api.github.com/repos/kopytov/Rex/hooks","issue_events_url":"https://api.github.com/repos/kopytov/Rex/issues/events{/number}","events_url":"https://api.github.com/repos/kopytov/Rex/events","assignees_url":"https://api.github.com/repos/kopytov/Rex/assignees{/user}","branches_url":"https://api.github.com/repos/kopytov/Rex/branches{/branch}","tags_url":"https://api.github.com/repos/kopytov/Rex/tags","blobs_url":"https://api.github.com/repos/kopytov/Rex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kopytov/Rex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kopytov/Rex/git/refs{/sha}","trees_url":"https://api.github.com/repos/kopytov/Rex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kopytov/Rex/statuses/{sha}","languages_url":"https://api.github.com/repos/kopytov/Rex/languages","stargazers_url":"https://api.github.com/repos/kopytov/Rex/stargazers","contributors_url":"https://api.github.com/repos/kopytov/Rex/contributors","subscribers_url":"https://api.github.com/repos/kopytov/Rex/subscribers","subscription_url":"https://api.github.com/repos/kopytov/Rex/subscription","commits_url":"https://api.github.com/repos/kopytov/Rex/commits{/sha}","git_commits_url":"https://api.github.com/repos/kopytov/Rex/git/commits{/sha}","comments_url":"https://api.github.com/repos/kopytov/Rex/comments{/number}","issue_comment_url":"https://api.github.com/repos/kopytov/Rex/issues/comments{/number}","contents_url":"https://api.github.com/repos/kopytov/Rex/contents/{+path}","compare_url":"https://api.github.com/repos/kopytov/Rex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kopytov/Rex/merges","archive_url":"https://api.github.com/repos/kopytov/Rex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kopytov/Rex/downloads","issues_url":"https://api.github.com/repos/kopytov/Rex/issues{/number}","pulls_url":"https://api.github.com/repos/kopytov/Rex/pulls{/number}","milestones_url":"https://api.github.com/repos/kopytov/Rex/milestones{/number}","notifications_url":"https://api.github.com/repos/kopytov/Rex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kopytov/Rex/labels{/name}","releases_url":"https://api.github.com/repos/kopytov/Rex/releases{/id}","created_at":"2015-05-15T17:25:49Z","updated_at":"2015-05-15T17:25:50Z","pushed_at":"2015-05-15T17:50:35Z","git_url":"git://github.com/kopytov/Rex.git","ssh_url":"git@github.com:kopytov/Rex.git","clone_url":"https://github.com/kopytov/Rex.git","svn_url":"https://github.com/kopytov/Rex","homepage":"http://rexify.org/","size":14269,"stargazers_count":0,"watchers_count":0,"language":"Perl","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":"RexOps:master","ref":"master","sha":"d699d50ac3570a62b18566e4dce4c51d51691e13","user":{"login":"RexOps","id":7370884,"avatar_url":"https://avatars.githubusercontent.com/u/7370884?v=3","gravatar_id":"","url":"https://api.github.com/users/RexOps","html_url":"https://github.com/RexOps","followers_url":"https://api.github.com/users/RexOps/followers","following_url":"https://api.github.com/users/RexOps/following{/other_user}","gists_url":"https://api.github.com/users/RexOps/gists{/gist_id}","starred_url":"https://api.github.com/users/RexOps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RexOps/subscriptions","organizations_url":"https://api.github.com/users/RexOps/orgs","repos_url":"https://api.github.com/users/RexOps/repos","events_url":"https://api.github.com/users/RexOps/events{/privacy}","received_events_url":"https://api.github.com/users/RexOps/received_events","type":"Organization","site_admin":false},"repo":{"id":1053964,"name":"Rex","full_name":"RexOps/Rex","owner":{"login":"RexOps","id":7370884,"avatar_url":"https://avatars.githubusercontent.com/u/7370884?v=3","gravatar_id":"","url":"https://api.github.com/users/RexOps","html_url":"https://github.com/RexOps","followers_url":"https://api.github.com/users/RexOps/followers","following_url":"https://api.github.com/users/RexOps/following{/other_user}","gists_url":"https://api.github.com/users/RexOps/gists{/gist_id}","starred_url":"https://api.github.com/users/RexOps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RexOps/subscriptions","organizations_url":"https://api.github.com/users/RexOps/orgs","repos_url":"https://api.github.com/users/RexOps/repos","events_url":"https://api.github.com/users/RexOps/events{/privacy}","received_events_url":"https://api.github.com/users/RexOps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RexOps/Rex","description":"A framework for server orchestration and to simplify system administration","fork":false,"url":"https://api.github.com/repos/RexOps/Rex","forks_url":"https://api.github.com/repos/RexOps/Rex/forks","keys_url":"https://api.github.com/repos/RexOps/Rex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RexOps/Rex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RexOps/Rex/teams","hooks_url":"https://api.github.com/repos/RexOps/Rex/hooks","issue_events_url":"https://api.github.com/repos/RexOps/Rex/issues/events{/number}","events_url":"https://api.github.com/repos/RexOps/Rex/events","assignees_url":"https://api.github.com/repos/RexOps/Rex/assignees{/user}","branches_url":"https://api.github.com/repos/RexOps/Rex/branches{/branch}","tags_url":"https://api.github.com/repos/RexOps/Rex/tags","blobs_url":"https://api.github.com/repos/RexOps/Rex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RexOps/Rex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RexOps/Rex/git/refs{/sha}","trees_url":"https://api.github.com/repos/RexOps/Rex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RexOps/Rex/statuses/{sha}","languages_url":"https://api.github.com/repos/RexOps/Rex/languages","stargazers_url":"https://api.github.com/repos/RexOps/Rex/stargazers","contributors_url":"https://api.github.com/repos/RexOps/Rex/contributors","subscribers_url":"https://api.github.com/repos/RexOps/Rex/subscribers","subscription_url":"https://api.github.com/repos/RexOps/Rex/subscription","commits_url":"https://api.github.com/repos/RexOps/Rex/commits{/sha}","git_commits_url":"https://api.github.com/repos/RexOps/Rex/git/commits{/sha}","comments_url":"https://api.github.com/repos/RexOps/Rex/comments{/number}","issue_comment_url":"https://api.github.com/repos/RexOps/Rex/issues/comments{/number}","contents_url":"https://api.github.com/repos/RexOps/Rex/contents/{+path}","compare_url":"https://api.github.com/repos/RexOps/Rex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RexOps/Rex/merges","archive_url":"https://api.github.com/repos/RexOps/Rex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RexOps/Rex/downloads","issues_url":"https://api.github.com/repos/RexOps/Rex/issues{/number}","pulls_url":"https://api.github.com/repos/RexOps/Rex/pulls{/number}","milestones_url":"https://api.github.com/repos/RexOps/Rex/milestones{/number}","notifications_url":"https://api.github.com/repos/RexOps/Rex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RexOps/Rex/labels{/name}","releases_url":"https://api.github.com/repos/RexOps/Rex/releases{/id}","created_at":"2010-11-05T11:52:19Z","updated_at":"2015-05-12T06:40:31Z","pushed_at":"2015-05-10T12:43:19Z","git_url":"git://github.com/RexOps/Rex.git","ssh_url":"git@github.com:RexOps/Rex.git","clone_url":"https://github.com/RexOps/Rex.git","svn_url":"https://github.com/RexOps/Rex","homepage":"http://rexify.org/","size":14269,"stargazers_count":412,"watchers_count":412,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":142,"mirror_url":null,"open_issues_count":85,"forks":142,"open_issues":85,"watchers":412,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RexOps/Rex/pulls/688"},"html":{"href":"https://github.com/RexOps/Rex/pull/688"},"issue":{"href":"https://api.github.com/repos/RexOps/Rex/issues/688"},"comments":{"href":"https://api.github.com/repos/RexOps/Rex/issues/688/comments"},"review_comments":{"href":"https://api.github.com/repos/RexOps/Rex/pulls/688/comments"},"review_comment":{"href":"https://api.github.com/repos/RexOps/Rex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RexOps/Rex/pulls/688/commits"},"statuses":{"href":"https://api.github.com/repos/RexOps/Rex/statuses/9b24a5d8e17c2e43d0935fee9bec9d3ff4849722"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}