diff options
author | Paul J. Davis <paul.joseph.davis@gmail.com> | 2014-08-17 16:32:01 -0500 |
---|---|---|
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | 2014-08-17 16:32:01 -0500 |
commit | 7d64200b19066fd07d993c1ad1af8d1c9bb87f21 (patch) | |
tree | 49215670a6b39b40b5693cd9aba39ee1e03a83ac | |
parent | 77dd2bed7cadcfaa686a0008361d6e057839a515 (diff) | |
download | couchdb-7d64200b19066fd07d993c1ad1af8d1c9bb87f21.tar.gz |
Replace twig with couch_log
-rw-r--r-- | src/rexi.app.src | 1 | ||||
-rw-r--r-- | src/rexi_server_mon.erl | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/rexi.app.src b/src/rexi.app.src index 0691edd67..639e9dcf0 100644 --- a/src/rexi.app.src +++ b/src/rexi.app.src @@ -30,6 +30,7 @@ {applications, [ kernel, stdlib, + couch_log, config ]}, {mod, {rexi_app,[]}} diff --git a/src/rexi_server_mon.erl b/src/rexi_server_mon.erl index 2dcb41c7d..e6b5eb98e 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}. |