anchor.diff:          couch_db:close(Db),
           vbuckets_need_compaction(Rest, Config, Acc2);
       Error ->
  -        ?LOG_ERROR("Couldn't open vbucket database `~s`: ~p", [DbName, Error]),
  +        ?log_error("Couldn't open vbucket database `~s`: ~p", [DbName, Error]),
           false
       end.
   
  
positive.code:                 true ->
                      true;
                  false ->
                      ?LOG_INFO("Compaction daemon - skipping view group `~s` "
                          "compaction (bucket `~s`): the estimated necessary "
                          "disk space is about ~p bytes but the currently available"
                          " disk space is ~p bytes.",
  
negative.code:             {'DOWN', MonRef, process, CompactPid, normal} ->
                  ok;
              {'DOWN', MonRef, process, CompactPid, Reason} ->
                  ?log_error("Compaction daemon - an error ocurred while compacting"
                      " the view group `~s` from bucket `~s`: ~p",
                      [DDocId, BucketName, Reason]),
                  ok
              after TimeLeft ->
                  ?log_info("Compaction daemon - canceling the compaction for the "
                      "view group `~s` of the bucket `~s` because it's exceeding"
                      " the allowed period.", [DDocId, BucketName]),
                  erlang:demonitor(MonRef, [flush]),
  