anchor.diff:  %%    when you think everything is recorded
   %% 5. call trace_mpath:cleanup(your_trace_id) to free the memory
   %%
  +%% Optional Startup for reduced memory consumption:
  +%%   1.1 Use message map fun to normalize or shrink messages
  +%%       call: trace_mpath:start(your_trace_id, [{map_fun, your_map_fun()}])
  +%%   1.2 Use filter fun to log only messages your are interested in
  +%%       call: trace_mpath:start(your_trace_id, [{filter_fun, your_filter_fun()}])
  +%%       attention: filter_fun operates on mapped messages if map_fun() is used
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   
   -include("scalaris.hrl").
  
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.
  
  