anchor.diff:  do_radius(ServerPid, ReqKey, Handler, NasProp, {udp, Socket, FromIP, FromPort, EncRequest}) ->
       case handle_request(Handler, NasProp, EncRequest) of
           {reply, EncReply} ->
  -            dbg(NasProp, "sending response for ~p~n", [ReqKey]),
  +            lager:debug("sending response for ~p~n", [ReqKey]),
               gen_udp:send(Socket, FromIP, FromPort, EncReply),
               ServerPid ! {replied, ReqKey, self()},
               inc_nas_counter(replies, NasProp),
               {ok, ResendTimeout} = application:get_env(eradius, resend_timeout),
               wait_resend_init(ServerPid, ReqKey, FromIP, FromPort, EncReply, ResendTimeout, ?RESEND_RETRIES);
           {discard, Reason} ->
  -            dbg(NasProp, "discarding request ~p: ~1000.p~n", [ReqKey, Reason]),
  +            lager:debug("discarding request ~p: ~1000.p~n", [ReqKey, Reason]),
               discard_inc_counter(Reason, NasProp),
               ServerPid ! {discarded, ReqKey};
           {exit, Reason} ->
  -            dbg(NasProp, "discarding request (handler EXIT) ~p: ~p~n", [ReqKey, Reason]),
  +            lager:debug("discarding request (handler EXIT) ~p: ~p~n", [ReqKey, Reason]),
               inc_nas_counter(handlerFailure, NasProp),
               ServerPid ! {discarded, ReqKey}
       end.
  
positive.code:     inc_nas_counter(discNaks, NasProp);
  reply_inc_counter(_Cmd, _NasProp) ->
      ok.
  
negative.code:                     State#state{transacts = orddict:store(ReqKey, {handling, HandlerPid}, Transacts)};
                  {handling, _HandlerPid} ->
                      %% handler process is still working on the request
                      lager:debug("duplicate request (being handled) ~p~n", [ReqKey]),
                      inc_nas_counter(dupRequests, NasProp),
                      State;
                  {replied, HandlerPid} ->
                      %% handler process waiting for resend message
                      HandlerPid ! {self(), resend, Socket},
                      lager:debug("duplicate request (resend) ~p~n", [ReqKey]),
                      inc_nas_counter(dupRequests, NasProp),
                      State
              end;
  