{"action":"created","issue":{"url":"https://api.github.com/repos/capistrano/capistrano/issues/1458","labels_url":"https://api.github.com/repos/capistrano/capistrano/issues/1458/labels{/name}","comments_url":"https://api.github.com/repos/capistrano/capistrano/issues/1458/comments","events_url":"https://api.github.com/repos/capistrano/capistrano/issues/1458/events","html_url":"https://github.com/capistrano/capistrano/issues/1458","id":94001045,"number":1458,"title":"Capturing capistrano 3 output.","user":{"login":"BenjaminKim","id":597114,"avatar_url":"https://avatars.githubusercontent.com/u/597114?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjaminKim","html_url":"https://github.com/BenjaminKim","followers_url":"https://api.github.com/users/BenjaminKim/followers","following_url":"https://api.github.com/users/BenjaminKim/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminKim/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminKim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminKim/subscriptions","organizations_url":"https://api.github.com/users/BenjaminKim/orgs","repos_url":"https://api.github.com/users/BenjaminKim/repos","events_url":"https://api.github.com/users/BenjaminKim/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminKim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-09T09:30:25Z","updated_at":"2015-07-09T10:21:49Z","closed_at":null,"body":"```ruby\r\nnamespace :deploy do\r\n  desc 'Notify to co-workers'\r\n  task :notify do\r\n    summury = \"[#{fetch(:application)}](#{fetch(:stage)}) \" + revision_log_message\r\n    Mail.send_one(summury, 'my-team-mail-address@team.com')\r\n  end\r\n\r\n  task :notify_with_full_log do\r\n    full_log = get_capistrano_full_log # here\r\n    Mail.send_one(full_log, 'my-team-mail-address@team.com')\r\n  end\r\nend\r\n```\r\n\r\nI made my own task `deploy:notify` to notify deployment to my coworkers and it works well.\r\nI would also want to make `deploy:notify_with_full_log` task but I can't find the way yet.\r\nIs there a method or way to do this?"},"comment":{"url":"https://api.github.com/repos/capistrano/capistrano/issues/comments/119900235","html_url":"https://github.com/capistrano/capistrano/issues/1458#issuecomment-119900235","issue_url":"https://api.github.com/repos/capistrano/capistrano/issues/1458","id":119900235,"user":{"login":"leehambley","id":18952,"avatar_url":"https://avatars.githubusercontent.com/u/18952?v=3","gravatar_id":"","url":"https://api.github.com/users/leehambley","html_url":"https://github.com/leehambley","followers_url":"https://api.github.com/users/leehambley/followers","following_url":"https://api.github.com/users/leehambley/following{/other_user}","gists_url":"https://api.github.com/users/leehambley/gists{/gist_id}","starred_url":"https://api.github.com/users/leehambley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leehambley/subscriptions","organizations_url":"https://api.github.com/users/leehambley/orgs","repos_url":"https://api.github.com/users/leehambley/repos","events_url":"https://api.github.com/users/leehambley/events{/privacy}","received_events_url":"https://api.github.com/users/leehambley/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T10:21:49Z","updated_at":"2015-07-09T10:21:49Z","body":"Shame on me for not linking to either\nhttps://github.com/capistrano/sshkit/blob/master/lib/sshkit/formatters/pretty.rb\nor https://github.com/capistrano/sshkit#output-handling both of which have\nloads more information and reference you can use. But that little\nknowledge, combined with the MultiIIO thing I linked from SO should give\nyou a really strong start. Also Airbrussh is awesome, I'd merge it into\nSSHKit in a heart beat, and make it the default if I didn't think it was\nunfair to Matt to have his work attached to something under my name.\n\nLee Hambley\nhttp://lee.hambley.name/\n+49 (0) 170 298 5667\n\nOn 9 July 2015 at 11:02, Benjamin Kim <notifications@github.com> wrote:\n\n> @leehambley <https://github.com/leehambley> [image: :+1:] Oh thank you so\n> much.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/capistrano/capistrano/issues/1458#issuecomment-119896311>\n> .\n>\n"}}