From 8bb97c8f2f75bc8c498437047cf82f163f8aeec8 Mon Sep 17 00:00:00 2001 From: Nelson Jovel Date: Tue, 19 Dec 2023 15:22:59 -0800 Subject: [PATCH] chore: slight improvement to test execution time by disabling all but the most fatal of logging --- config/environments/test.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/test.rb b/config/environments/test.rb index 668d20cb..6e5f0b60 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -58,4 +58,7 @@ Rails.application.configure do config.active_record.encryption.primary_key = "test" config.active_record.encryption.deterministic_key = "test" config.active_record.encryption.key_derivation_salt = "test" + + config.logger = Logger.new(nil) + config.log_level = :fatal end