You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wi...@apache.org on 2020/01/21 07:55:01 UTC

[couchdb] branch master updated: Log clustered URIs at startup

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

willholley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 922ea46  Log clustered URIs at startup
922ea46 is described below

commit 922ea4621ac9ccfa28e866f2fafb1dbf32c0f498
Author: Will Holley <wi...@gmail.com>
AuthorDate: Mon Jan 20 11:10:09 2020 +0000

    Log clustered URIs at startup
    
    Changes the URI logged at startup to report the address(es) that
    `chttpd` is bound to rather than `httpd`. Previously it was a bit
    confusing that it always reported that Couch had started on
    port 5986 which is deprecated and not intended to be user-facing.
---
 src/couch/src/couch_sup.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch/src/couch_sup.erl b/src/couch/src/couch_sup.erl
index c4a2e63..6e7ef98 100644
--- a/src/couch/src/couch_sup.erl
+++ b/src/couch/src/couch_sup.erl
@@ -157,7 +157,7 @@ write_uris() ->
 
 
 get_uris() ->
-    Ip = config:get("httpd", "bind_address"),
+    Ip = config:get("chttpd", "bind_address"),
     lists:flatmap(fun(Uri) ->
         case get_uri(Uri, Ip) of
             undefined -> [];