summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Newson <robert.newson@cloudant.com>2014-02-12 20:12:50 +0000
committerRobert Newson <robert.newson@cloudant.com>2014-02-12 20:12:50 +0000
commitf37c5b5bd7e4986ff217e066026515af120a3fec (patch)
tree91bf78a21c8a1c0fb27af347f97281654389e75a
parent00d03035ac063250744bb2bc8ee0e30e1fb301a9 (diff)
downloadcouchdb-f37c5b5bd7e4986ff217e066026515af120a3fec.tar.gz
Switch to couch_log
-rw-r--r--src/rexi_server.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rexi_server.erl b/src/rexi_server.erl
index c3fc5082b..3a2b7f7b8 100644
--- a/src/rexi_server.erl
+++ b/src/rexi_server.erl
@@ -89,7 +89,7 @@ handle_cast({kill, FromRef}, #st{clients = Clients} = St) ->
end;
handle_cast(_, St) ->
- twig:log(notice, "rexi_server ignored_cast"),
+ couch_log:log(notice, "rexi_server ignored_cast"),
{noreply, St}.
handle_info({'DOWN', Ref, process, _, normal}, #st{workers=Workers} = St) ->
@@ -150,7 +150,7 @@ init_p(From, {M,F,A}, Nonce) ->
put(nonce, Nonce),
try apply(M, F, A) catch exit:normal -> ok; Class:Reason ->
Stack = clean_stack(),
- twig:log(error, "rexi_server ~p:~p ~100p", [Class, Reason, Stack]),
+ couch_log:log(error, "rexi_server ~p:~p ~100p", [Class, Reason, Stack]),
exit(#error{
timestamp = now(),
reason = {Class, Reason},