Commit ba74f389 authored by Rémy Coutable's avatar Rémy Coutable

Fix logger disabling on the CI: instantiate an ActiveSupport::TaggedLogging

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 445cd22c
......@@ -45,7 +45,7 @@ Rails.application.configure do
config.active_job.queue_adapter = :test
if ENV['CI'] && !ENV['RAILS_ENABLE_TEST_LOG']
config.logger = Logger.new(nil)
config.logger = ActiveSupport::TaggedLogging.new(Logger.new(nil))
config.log_level = :fatal
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment