From 3751c13253370c72735fb070588fa8d99db5e81a Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Sat, 30 Aug 2008 14:27:01 +0000 Subject: - Rename configuration options and sections to allow for a nicer .ini file and HTTP API calls. - Enable .ini parser to read variable assignments with spaces around the '='-sign. - Remove inadequate comment. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@690513 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_server_sup.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/couchdb/couch_server_sup.erl') diff --git a/src/couchdb/couch_server_sup.erl b/src/couchdb/couch_server_sup.erl index b90ec07e..b34db356 100644 --- a/src/couchdb/couch_server_sup.erl +++ b/src/couchdb/couch_server_sup.erl @@ -49,7 +49,7 @@ start_server(IniFiles) -> {ok, ConfigPid} = couch_config:start_link(IniFiles), - LogLevel = couch_config:get({"Log", "Level"}, "info"), + LogLevel = couch_config:get({"log", "level"}, "info"), % announce startup io:format("Apache CouchDB ~s (LogLevel=~s) is starting.~n", [ couch_server:get_version(), @@ -64,7 +64,7 @@ start_server(IniFiles) -> end, LibDir = - case couch_config:get({"CouchDB", "UtilDriverDir"}, null) of + case couch_config:get({"couchdb", "util_driver_dir"}, null) of null -> filename:join(code:priv_dir(couch), "lib"); LibDir0 -> LibDir0 @@ -100,7 +100,7 @@ start_server(IniFiles) -> % just restart if one of the config settings change. couch_config:register( - fun({"CouchDB", "UtilDriverDir"}) -> + fun({"couchdb", "util_driver_dir"}) -> ?MODULE:stop() end, Pid), -- cgit v1.2.3