From 5e522f4276a06c69cc5fc32dc9590ff273c133f1 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 30 Apr 2019 09:47:02 +0200 Subject: [PATCH] Improved logging - do not log article.body and body. --- config/initializers/filter_parameter_logging.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/filter_parameter_logging.rb b/config/initializers/filter_parameter_logging.rb index 01e8b9da0..5cc030d01 100644 --- a/config/initializers/filter_parameter_logging.rb +++ b/config/initializers/filter_parameter_logging.rb @@ -1,4 +1,4 @@ # Be sure to restart your server when you modify this file. # Configure sensitive parameters which will be filtered from the log file. -Rails.application.config.filter_parameters += %i[password bind_pw state.body state.article.body article.attachments.data attachments.data] +Rails.application.config.filter_parameters += %i[password bind_pw state.body state.article.body article.body article.attachments.data attachments.data body]