summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Holley <willholley@gmail.com>2020-01-20 11:10:09 +0000
committerWill Holley <willholley@gmail.com>2020-01-21 07:54:52 +0000
commit922ea4621ac9ccfa28e866f2fafb1dbf32c0f498 (patch)
treed3793ecdbb12f7d7f1fcb904cca31201e1044164
parent2c9ddd696b024267b051d069e91f95e49b8eec22 (diff)
downloadcouchdb-922ea4621ac9ccfa28e866f2fafb1dbf32c0f498.tar.gz
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.
-rw-r--r--src/couch/src/couch_sup.erl2
1 files changed, 1 insertions, 1 deletions
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 -> [];