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.
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 @@
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 -> [];