Fix logger disabling on the CI: instantiate an ActiveSupport::TaggedLogging
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
445cd22c72
commit
ba74f38946
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue