From 91a22321c2f30ec18dbbb56ba3df65b0d683315f Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Tue, 4 Aug 2009 17:26:30 +0000 Subject: 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 --- src/couchdb/couch_server_sup.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}. -- cgit v1.2.3