This is an automated email from the ASF dual-hosted git repository.

iilyak pushed a commit to branch clean-up-logs-3.x.v2
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit cbe90e37feceac6bdf5a83ca5e783ca1028d9a74
Author: ILYA Khlopotov <[email protected]>
AuthorDate: Tue Mar 16 08:43:20 2021 -0700

    Revert "fixup: Add support for pluguable sanitizer module..."
    
    This reverts commit 5ae5d70a15fbe1056ad6bbdb3681598efe18da82.
---
 src/couch_log/src/couch_log_config.erl             | 2 +-
 src/couch_log/src/couch_log_formatter.erl          | 2 +-
 src/couch_log/test/eunit/couch_log_config_test.erl | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/couch_log/src/couch_log_config.erl 
b/src/couch_log/src/couch_log_config.erl
index 3dfbcb5..1d7452d 100644
--- a/src/couch_log/src/couch_log_config.erl
+++ b/src/couch_log/src/couch_log_config.erl
@@ -108,4 +108,4 @@ transform(strip_last_msg, _) ->
     true;
 
 transform(sanitizer_module, ModuleStr) ->
-    list_to_atom(ModuleStr).
+    list_to_atom(ModuleStr).
\ No newline at end of file
diff --git a/src/couch_log/src/couch_log_formatter.erl 
b/src/couch_log/src/couch_log_formatter.erl
index 51e85c3..c90f0d0 100644
--- a/src/couch_log/src/couch_log_formatter.erl
+++ b/src/couch_log/src/couch_log_formatter.erl
@@ -573,4 +573,4 @@ maybe_sanitize_reason(Term, #{sanitizer := undefined}) ->
 maybe_sanitize_reason(Term, #{sanitizer := Module} = Opts) ->
     Module:sanitize_reason(Term, Opts);
 maybe_sanitize_reason(Term, _) ->
-    Term.
+    Term.
\ No newline at end of file
diff --git a/src/couch_log/test/eunit/couch_log_config_test.erl 
b/src/couch_log/test/eunit/couch_log_config_test.erl
index bc1faad..b2746ac 100644
--- a/src/couch_log/test/eunit/couch_log_config_test.erl
+++ b/src/couch_log/test/eunit/couch_log_config_test.erl
@@ -157,4 +157,4 @@ check_sanitizer_module() ->
         config:delete("log", "sanitizer_module"),
         couch_log_test_util:wait_for_config(),
         ?assertEqual(undefined, couch_log_config:get(sanitizer_module))
-    end).
+    end).
\ No newline at end of file

Reply via email to