anchor.diff:                      %% Forward to process.
                       partisan_util:process_forward(ServerRef, Message);
                   commit -> 
  -                    lager:info("Participant: ~p already committed.", [node()]),
  +                    partisan_logger:info("Participant: ~p already committed.", [node()]),
                       ok
               end;
           [] ->
  -            lager:error("Notification for participant timeout message but no transaction found: abort or commit already occurred!")
  +            partisan_logger:error("Notification for participant timeout message but no transaction found: abort or commit already occurred!", [])
       end,
   
       {noreply, State};
  
positive.code:                     ok
              end;
          [] ->
              lager:error("Notification for commit_ack message but no transaction found!")
      end,
  
      {noreply, State};
  
negative.code:     %% Find transaction record.
      case ets:lookup(?PARTICIPATING_TRANSACTIONS, Id) of 
          [{_Id, #transaction{participants=_Participants, participant_status=ParticipantStatus, server_ref=ServerRef, message=Message} = Transaction}] ->
              partisan_logger:info("Participant timeout when participant ~p was in the ~p state.", [node(), ParticipantStatus]),
  
              case ParticipantStatus of 
                  prepared ->
                      partisan_logger:info("Participant: ~p moving from ~p to abort state.", [node(), ParticipantStatus]),
  
                      %% Write log record showing abort occurred.
                      true = ets:insert(?PARTICIPATING_TRANSACTIONS, {Id, Transaction#transaction{participant_status=abort}});
                  precommit ->
                      partisan_logger:info("Participant: ~p moving from precommit to commit state.", [node()]),
  
                      %% Proceed with the commit.
  
  