From b2204b3ac0770047e81201215f2a757d7a470ba6 Mon Sep 17 00:00:00 2001 From: Will Holley Date: Mon, 20 Jan 2020 11:10:09 +0000 Subject: 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 c4a2e6303..6e7ef98b7 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 -> []; -- cgit v1.2.1