Replace twig with couch_log
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,[]}}
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 @@
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 @@
{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}.