diff --git a/config/initializers/bugsnag.rb b/config/initializers/bugsnag.rb index dc2a379c89..1ebbd98e4e 100644 --- a/config/initializers/bugsnag.rb +++ b/config/initializers/bugsnag.rb @@ -1,6 +1,9 @@ Bugsnag.configure do |config| config.api_key = ENV['BUGSNAG_API_KEY'] config.release_stage = ENV['RAILS_ENV'] - + if Rails.env.development? + config.logger = Logger.new(STDOUT) # In Rails apps, create a new logger to avoid changing the Rails log level + config.logger.level = Logger::ERROR + end config.notify_release_stages = %w(production staging) end