anchor.diff:          {log_collector, LoggerPid} ->
               TraceId = passed_state_trace_id(PState),
               send_log_msg(
  +              PState,
                 LoggerPid,
                 {log_recv, Now, TraceId, FromPid, ToPid, MsgMapFun(Msg)})
       end,
       ok.
   
  --spec send_log_msg(comm:mypid(), trace_event()) -> ok.
  -send_log_msg(LoggerPid, Msg) ->
  +-spec send_log_msg(passed_state(), comm:mypid(), trace_event()) -> ok.
  +send_log_msg(RestoreThis, LoggerPid, Msg) ->
       %% don't log the sending of log messages ...
  -    RestoreThis = own_passed_state_get(),
  -    case RestoreThis of
  -        undefined ->
  +    FilterFun = passed_state_filter_fun(RestoreThis),
  +    case FilterFun(Msg) of
  +        true ->
               stop(),
               comm:send(LoggerPid, Msg),
               own_passed_state_put(RestoreThis);
  -        _ ->
  -            FilterFun = passed_state_filter_fun(RestoreThis),
  -            case FilterFun(Msg) of
  -                true ->
  -                    stop(),
  -                    comm:send(LoggerPid, Msg),
  -                    own_passed_state_put(RestoreThis);
  -                false -> ok
  -            end
  -     end.
  +        false -> ok
  +    end.
   
   -spec normalize_pidinfo(anypid()) -> pidinfo().
   normalize_pidinfo(Pid) ->
  
positive.code:         {log_collector, LoggerPid} ->
              TraceId = passed_state_trace_id(PState),
              send_log_msg(
                LoggerPid,
                {log_send, Now, TraceId, FromPid, ToPid, MsgMapFun(Msg), LocalOrGlobal})
      end,
  
negative.code:                        Info]);
          {log_collector, LoggerPid} ->
              TraceId = passed_state_trace_id(PState),
              send_log_msg(PState, LoggerPid, {log_info, Now, TraceId, FromPid, Info})
      end,
      ok.
  
  