couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject config commit: updated refs/heads/1843-feature-bigcouch to e42fb55
Date Wed, 12 Feb 2014 22:55:29 GMT
Updated Branches:
  refs/heads/1843-feature-bigcouch 9cf481e8a -> e42fb5577


Switch to couch_log


Project: http://git-wip-us.apache.org/repos/asf/couchdb-config/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-config/commit/e42fb557
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-config/tree/e42fb557
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-config/diff/e42fb557

Branch: refs/heads/1843-feature-bigcouch
Commit: e42fb55774706904a17446197c66c69ba046cb14
Parents: 9cf481e
Author: Robert Newson <robert.newson@cloudant.com>
Authored: Wed Feb 12 20:12:11 2014 +0000
Committer: Robert Newson <robert.newson@cloudant.com>
Committed: Wed Feb 12 20:12:11 2014 +0000

----------------------------------------------------------------------
 src/config.erl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-config/blob/e42fb557/src/config.erl
----------------------------------------------------------------------
diff --git a/src/config.erl b/src/config.erl
index f47639a..c0a4c6b 100644
--- a/src/config.erl
+++ b/src/config.erl
@@ -110,7 +110,7 @@ handle_call(all, _From, Config) ->
     {reply, Resp, Config};
 handle_call({set, Sec, Key, Val, Persist}, _From, Config) ->
     true = ets:insert(?MODULE, {{Sec, Key}, Val}),
-    twig:log(notice, "~p: [~s] ~s set to ~s", [?MODULE, Sec, Key, Val]),
+    couch_log:log(notice, "~p: [~s] ~s set to ~s", [?MODULE, Sec, Key, Val]),
     case {Persist, Config#config.write_filename} of
         {true, undefined} ->
             ok;
@@ -124,7 +124,7 @@ handle_call({set, Sec, Key, Val, Persist}, _From, Config) ->
     {reply, ok, Config};
 handle_call({delete, Sec, Key, Persist}, _From, Config) ->
     true = ets:delete(?MODULE, {Sec,Key}),
-    twig:log(notice, "~p: [~s] ~s deleted", [?MODULE, Sec, Key]),
+    couch_log:log(notice, "~p: [~s] ~s deleted", [?MODULE, Sec, Key]),
     case {Persist, Config#config.write_filename} of
         {true, undefined} ->
             ok;
@@ -167,7 +167,7 @@ handle_cast(_Msg, State) ->
     {noreply, State}.
 
 handle_info(Info, State) ->
-    twig:log(error, "config:handle_info Info: ~p~n", [Info]),
+    couch_log:log(error, "config:handle_info Info: ~p~n", [Info]),
     {noreply, State}.
 
 code_change(_OldVsn, State, _Extra) ->
@@ -183,7 +183,7 @@ parse_ini_file(IniFile) ->
         {error, enoent} ->
             Fmt = "Couldn't find server configuration file ~s.",
             Msg = list_to_binary(io_lib:format(Fmt, [IniFilename])),
-            twig:log(error, "~s~n", [Msg]),
+            couch_log:log(error, "~s~n", [Msg]),
             throw({startup_error, Msg})
     end,
 


Mime
View raw message