couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [2/2] couch-stats commit: updated refs/heads/master to ebb4f63
Date Fri, 29 Aug 2014 12:39:09 GMT
remove twig references (again)


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

Branch: refs/heads/master
Commit: ebb4f633f43e3b1938abed38a469784c542bde4a
Parents: 81483c1
Author: Robert Newson <rnewson@apache.org>
Authored: Fri Aug 29 13:17:21 2014 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Fri Aug 29 13:17:21 2014 +0100

----------------------------------------------------------------------
 src/couch_stats_process_tracker.erl | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/blob/ebb4f633/src/couch_stats_process_tracker.erl
----------------------------------------------------------------------
diff --git a/src/couch_stats_process_tracker.erl b/src/couch_stats_process_tracker.erl
index 5b5b97c..4765734 100644
--- a/src/couch_stats_process_tracker.erl
+++ b/src/couch_stats_process_tracker.erl
@@ -48,7 +48,7 @@ init([]) ->
     {ok, #st{}}.
 
 handle_call(Msg, _From, State) ->
-    twig:log(notice, "~p received unknown call ~p", [?MODULE, Msg]),
+    couch_log:notice("~p received unknown call ~p", [?MODULE, Msg]),
     {noreply, State}.
 
 handle_cast({track, Pid, Name}, State) ->
@@ -57,14 +57,13 @@ handle_cast({track, Pid, Name}, State) ->
     ets:insert(?MODULE, {Ref, Name}),
     {noreply, State};
 handle_cast(Msg, State) ->
-    twig:log(notice, "~p received unknown cast ~p", [?MODULE, Msg]),
+    couch_log:notice("~p received unknown cast ~p", [?MODULE, Msg]),
     {noreply, State}.
 
 handle_info({'DOWN', Ref, _, _, _}=Msg, State) ->
     case ets:lookup(?MODULE, Ref) of
         [] ->
-            twig:log(
-                notice,
+            couch_log:notice(
                 "~p received unknown exit; message was ~p", [?MODULE, Msg]
             );
         [{Ref, Name}] ->
@@ -73,7 +72,7 @@ handle_info({'DOWN', Ref, _, _, _}=Msg, State) ->
     end,
     {noreply, State};
 handle_info(Msg, State) ->
-    twig:log(notice, "~p received unknown message ~p", [?MODULE, Msg]),
+    couch_log:notice("~p received unknown message ~p", [?MODULE, Msg]),
     {noreply, State}.
 
 terminate(_Reason, _State) ->


Mime
View raw message