You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2020/04/22 22:15:39 UTC

[couchdb] 01/01: fix: use correct logging module name, fixes #2797 (#2798)

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

wohali pushed a commit to branch 3.x-setup-logging
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit f9bda8f81c4397fc88737a2b8a47ef22700b8a45
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Thu Apr 23 00:14:48 2020 +0200

    fix: use correct logging module name, fixes #2797 (#2798)
    
    Co-authored-by: Joan Touzet <wo...@users.noreply.github.com>
---
 src/setup/src/setup.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/setup/src/setup.erl b/src/setup/src/setup.erl
index 3d23229..4867f60 100644
--- a/src/setup/src/setup.erl
+++ b/src/setup/src/setup.erl
@@ -262,7 +262,7 @@ sync_config(Section, Key, Value) ->
         ok ->
             ok;
         error ->
-            log:error("~p sync_admin results ~p errors ~p",
+            couch_log:error("~p sync_admin results ~p errors ~p",
                 [?MODULE, Results, Errors]),
             Reason = "Cluster setup unable to sync admin passwords",
             throw({setup_error, Reason})