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-20 20:03:17 +0000
commitb2204b3ac0770047e81201215f2a757d7a470ba6 (patch)
treed3793ecdbb12f7d7f1fcb904cca31201e1044164
parent2c9ddd696b024267b051d069e91f95e49b8eec22 (diff)
downloadcouchdb-couch_started_message.tar.gz
Log clustered URIs at startupcouch_started_message
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 -> [];