Permalink
Browse files

Using the Capistrano logger for great justice

  • Loading branch information...
1 parent 135065e commit ca0ee34e6af7128859109b6f694e858f8e68a3c6 @czarneckid czarneckid committed with czarneckid Aug 26, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/airbrake/capistrano.rb
View
4 lib/airbrake/capistrano.rb
@@ -13,9 +13,9 @@
notify_command = "#{executable} airbrake:deploy TO=#{rails_env} REVISION=#{current_revision} REPO=#{repository} USER=#{local_user}"
notify_command << " DRY_RUN=true" if dry_run
notify_command << " API_KEY=#{ENV['API_KEY']}" if ENV['API_KEY']
- puts "Notifying Airbrake of Deploy (#{notify_command})"
+ logger.info "Notifying Airbrake of Deploy (#{notify_command})"
`#{notify_command}`
- puts "Airbrake Notification Complete."
+ logger.info "Airbrake Notification Complete."
end
end
end

0 comments on commit ca0ee34

Please sign in to comment.