anchor.diff:          couch_replicator:cancel_replication(RepId),
           true = ets:delete(?REP_TO_STATE, RepId),
           true = ets:delete(?DOC_TO_REP, {DbName, DocId}),
  -        couch_log:notice("Stopped replication `~s` because replication document `~s`"
  -            " was deleted", [pp_rep_id(RepId), DocId]);
  +        couch_log:notice("Stopped replication `~s` because replication document"
  +            " `~s` from `~s` was deleted", [pp_rep_id(RepId), DocId, DbName]);
       [] ->
           ok
       end.
  
positive.code:     #rep_state{rep = #rep{doc_id = DocId}} ->
          State;
      #rep_state{starting = false, rep = #rep{db_name = DbName, doc_id = OtherDocId}} ->
          couch_log:notice("The replication specified by the document `~s` was already"
              " triggered by the document `~s`", [DocId, OtherDocId]),
          maybe_tag_rep_doc(DbName, DocId, RepDoc, ?l2b(BaseId)),
          State;
      #rep_state{starting = true, rep = #rep{db_name = DbName, doc_id = OtherDocId}} ->
          couch_log:notice("The replication specified by the document `~s` is already"
              " being triggered by the document `~s`", [DocId, OtherDocId]),
          maybe_tag_rep_doc(DbName, DocId, RepDoc, ?l2b(BaseId)),
          State
      end.
  
negative.code:         },
          true = ets:insert(?REP_TO_STATE, {RepId, RepState}),
          true = ets:insert(?DOC_TO_REP, {{DbName, DocId}, RepId}),
          couch_log:notice("Attempting to start replication `~s` (document `~s`"
              " from `~s`).", [pp_rep_id(RepId), DocId, DbName]),
          StartDelaySecs = erlang:max(0,
              config:get_integer("replicator", "start_delay", 10)),
          StartSplaySecs = erlang:max(1,
  