diff options
author | Jan Lehnardt <jan@apache.org> | 2009-08-04 17:26:30 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2009-08-04 17:26:30 +0000 |
commit | 91a22321c2f30ec18dbbb56ba3df65b0d683315f (patch) | |
tree | dcfd1437b5d193e7d4fbe1f803c3334e72c2b74a /src | |
parent | 251e9ad70c6851023f6765fa5b5a6fdcc8456b2a (diff) |
log bind_address and port after startup, helps with COUCHDB-393
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@800884 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/couchdb/couch_server_sup.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/couchdb/couch_server_sup.erl b/src/couchdb/couch_server_sup.erl index b2f03c8a..1a31c7cc 100644 --- a/src/couchdb/couch_server_sup.erl +++ b/src/couchdb/couch_server_sup.erl @@ -123,8 +123,10 @@ start_server(IniFiles) -> unlink(ConfigPid), + Ip = couch_config:get("httpd", "bind_address"), + Port = mochiweb_socket_server:get(couch_httpd, port), io:format("Apache CouchDB has started. Time to relax.~n"), - ?LOG_INFO("Apache CouchDB has started.", []), + ?LOG_INFO("Apache CouchDB has started on http://~s:~w/", [Ip, Port]), {ok, Pid}. |