anchor.diff:  -define(PERIOD, 1000).
   
   init(Transport, Req, Opts, Active) ->
  -    ?Debug("init~n Transport: ~p~nRequest: ~p~nOpts: ~p~nActive: ~p~n",
  +    ?NoDbLog(debug, [], "init~n Transport: ~p~nRequest: ~p~nOpts: ~p~nActive: ~p~n",
              [Transport, Req, Opts, Active]),
       TRef = erlang:send_after(?PERIOD, self(), refresh),
       {ok, Req, TRef}.
  
positive.code:     Time = get_time(),
      {reply, Time, Req, TRef};
  info(Info, Req, State) ->
      ?Debug("message received ~p~n", [Info]),
      {ok, Req, State}.
  
  terminate(_Req, TRef) ->
      ?Debug("terminate~n"),
      is_reference(TRef) andalso erlang:cancel_timer(TRef),
      ok.
  
  
negative.code: stream(<<"ping">>, Req, State) ->
      {reply, <<"pong">>, Req, State};
  stream(Data, Req, State) ->
      ?Info("unknown stream data received ~s~n", [Data]),
      {ok, Req, State}.
  
  info(refresh, Req, _) ->
  