diff --git a/config/environments/test.rb b/config/environments/test.rb index 59163382..743c5bcb 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -46,6 +46,7 @@ config.lograge.enabled = true + config.logger = ActiveSupport::Logger.new(STDOUT) config.lograge.logger = ActiveSupport::Logger.new(STDOUT) config.lograge.custom_options = lambda do |event| options = event.payload.slice(:request_id, :user_id) @@ -54,7 +55,7 @@ options end config.lograge.formatter = Lograge::Formatters::Json.new - config.log_level = :warn + config.log_level = :debug config.paths['log'] = "/var/log/#{ENV['DEPLOY_ENV']}.log" config.paths['tmp'] = "/tmp" config.paths['db'] = "/opt/db"