couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [31/33] rexi commit: updated refs/heads/master to bbf59a2
Date Thu, 28 Aug 2014 12:23:41 GMT
Replace twig with couch_log


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

Branch: refs/heads/master
Commit: 7d64200b19066fd07d993c1ad1af8d1c9bb87f21
Parents: 77dd2be
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Sun Aug 17 16:32:01 2014 -0500
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Sun Aug 17 16:32:01 2014 -0500

----------------------------------------------------------------------
 src/rexi.app.src        | 1 +
 src/rexi_server_mon.erl | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-rexi/blob/7d64200b/src/rexi.app.src
----------------------------------------------------------------------
diff --git a/src/rexi.app.src b/src/rexi.app.src
index 0691edd..639e9dc 100644
--- a/src/rexi.app.src
+++ b/src/rexi.app.src
@@ -30,6 +30,7 @@
     {applications, [
         kernel,
         stdlib,
+        couch_log,
         config
     ]},
     {mod, {rexi_app,[]}}

http://git-wip-us.apache.org/repos/asf/couchdb-rexi/blob/7d64200b/src/rexi_server_mon.erl
----------------------------------------------------------------------
diff --git a/src/rexi_server_mon.erl b/src/rexi_server_mon.erl
index 2dcb41c..e6b5eb9 100644
--- a/src/rexi_server_mon.erl
+++ b/src/rexi_server_mon.erl
@@ -64,12 +64,12 @@ handle_call(status, _From, ChildMod) ->
     end;
 
 handle_call(Msg, _From, St) ->
-    twig:log(notice, "~s ignored_call ~w", [?MODULE, Msg]),
+    couch_log:notice("~s ignored_call ~w", [?MODULE, Msg]),
     {reply, ignored, St}.
 
 
 handle_cast(Msg, St) ->
-    twig:log(notice, "~s ignored_cast ~w", [?MODULE, Msg]),
+    couch_log:notice("~s ignored_cast ~w", [?MODULE, Msg]),
     {noreply, St}.
 
 
@@ -86,7 +86,7 @@ handle_info(check_nodes, ChildMod) ->
     {noreply, ChildMod};
 
 handle_info(Msg, St) ->
-    twig:log(notice, "~s ignored_info ~w", [?MODULE, Msg]),
+    couch_log:notice("~s ignored_info ~w", [?MODULE, Msg]),
     {noreply, St}.
 
 


Mime
View raw message