lib/kiev/base.rb in kiev-4.8.0 vs lib/kiev/base.rb in kiev-4.8.1

- old
+ new

@@ -23,11 +23,11 @@ def_delegators :config, :logger, :filtered_params, :ignored_params, :log_level, - :enable_filter_for_log_levels + :disable_filter_for_log_levels EMPTY_OBJ = {}.freeze def configure yield(Config.instance) @@ -70,10 +70,10 @@ alias_method :tracking_id, :request_id private def logged_data(data) - return data unless enable_filter_for_log_levels.include?(log_level) + return data if disable_filter_for_log_levels.include?(log_level) ParamFilter.filter(data, filtered_params, ignored_params) end end end