From 5f62ac334d9115d9d8beeb888ecc494ba66158c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=A4dler?= Date: Wed, 10 Apr 2024 17:05:47 +0200 Subject: [PATCH] Switch loglevel --- config/environments/production.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 2160ad0..29c8023 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -37,9 +37,8 @@ Rails.application.configure do # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. # config.force_ssl = true - # Use the lowest log level to ensure availability of diagnostic information - # when problems arise. - config.log_level = :info + # Configure logging to only emit warning or higher + config.log_level = :warn # Prepend all log lines with the following tags. config.log_tags = [:request_id]