anchor.diff:  %% @end
   %%--------------------------------------------------------------------
   handle_call({handle_log, #message{payload=Payload}},
  -							_From, #state{threshold=Threshold} = State,
  -							_Election) ->
  -	{atomic,_} = persist_transactional(Payload),
  -	push_to_ddfs(Threshold),
  -	{reply, ok, State}.
  +                            _From, #state{threshold=Threshold} = State,
  +                            _Election) ->
  +    {atomic,_} = persist_transactional(Payload),
  +    push_to_ddfs(Threshold),
  +    {reply, ok, State}.
   
   %%--------------------------------------------------------------------
   %% @private
  
positive.code: %% @end
  %%--------------------------------------------------------------------
  surrendered(State, _Synch, Election) ->
  	?INFO("~p surrendered to ~p.",[node(), gen_leader:leader_node(Election)]),
      {ok, State}.
  
  %%--------------------------------------------------------------------
  
negative.code: %% @end
  %%--------------------------------------------------------------------
  init(Config) ->
      Threshold = zerolog_config:get_conf(Config, threshold, ?THRESHOLD),
      ZerologMaster = zerolog_config:get_conf(Config, master, ?THRESHOLD),
      Prefix =  zerolog_config:get_conf(Config, prefix, ?PREFIX),
      Tag =  zerolog_config:get_conf(Config, tag, ?TAG),
      ok = ensure_schema(),
      ok = mnesia:start(),
      ensure_table(),
      {ok, #state{zerolog_master=ZerologMaster, prefix=Prefix, threshold=Threshold, tag=Tag}}.
  