Skip to content
Snippets Groups Projects
Commit ba74f389 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

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


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 445cd22c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment