couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r800884 - /couchdb/trunk/src/couchdb/couch_server_sup.erl
Date Tue, 04 Aug 2009 17:26:30 GMT
Author: jan
Date: Tue Aug  4 17:26:30 2009
New Revision: 800884

URL: http://svn.apache.org/viewvc?rev=800884&view=rev
Log:
log bind_address and port after startup, helps with COUCHDB-393

Modified:
    couchdb/trunk/src/couchdb/couch_server_sup.erl

Modified: couchdb/trunk/src/couchdb/couch_server_sup.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_server_sup.erl?rev=800884&r1=800883&r2=800884&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_server_sup.erl (original)
+++ couchdb/trunk/src/couchdb/couch_server_sup.erl Tue Aug  4 17:26:30 2009
@@ -123,8 +123,10 @@
 
     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}.
 



Mime
View raw message