Skip to content
Browse files

Using the Capistrano logger for great justice

  • Loading branch information...
1 parent 74dc4ce commit d3e63c35507c760e2fed9e0474af3ccbe3c0520f @czarneckid czarneckid committed 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 d3e63c3

Please sign in to comment.
Something went wrong with that request. Please try again.