Skip to content

Logging with Airbrake

shime edited this page Oct 27, 2012 · 1 revision

Airbrake uses the logger from your Rails application by default, presumably STDOUT. If you don't like Airbrake scribbling to your standard output, just pass another Logger instance inside your configuration:

Airbrake.configure do |config|
  # ...
  config.logger = Logger.new("path/to/your/log/file")
end