Switch to couch_log
authorRobert Newson <robert.newson@cloudant.com>
Wed, 12 Feb 2014 20:12:28 +0000 (20:12 +0000)
committerRobert Newson <robert.newson@cloudant.com>
Wed, 12 Feb 2014 20:12:28 +0000 (20:12 +0000)
src/ddoc_cache.app.src
src/ddoc_cache_opener.erl

index a183dbd..55a108f 100644 (file)
@@ -31,7 +31,7 @@
         ets_lru,
         mem3,
         fabric,
-        twig
+        couch_log
     ]},
     {mod, {ddoc_cache_app, []}},
     {env, [
index 68b9127..87375e2 100644 (file)
@@ -126,7 +126,7 @@ handle_cast(Msg, St) ->
 
 
 handle_info({'EXIT', Pid, Reason}, #st{evictor=Pid}=St) ->
-    twig:log(err, "ddoc_cache_opener evictor died ~w", [Reason]),
+    couch_log:log(err, "ddoc_cache_opener evictor died ~w", [Reason]),
     {ok, Evictor} = couch_db_update_notifier:start_link(fun ?MODULE:evictor/1),
     {noreply, St#st{evictor=Evictor}};