anchor.diff:                     logplex_logging:dest(Host, Port)]),
               inet:setopts(CSock, [{active, once}]),
               {noreply, State#state{sock=CSock,
  -                                  peername=PeerName}};
  +                                  peername=PeerName,
  +                                  connect_time=os:timestamp()}};
           {error, Reason} ->
               ?INFO("at=new_connection err=\"~p\"",
                     [Reason]),
  
positive.code: 
  terminate(_Reason, _State) ->
      ok.
  
  code_change(_OldVsn, State, _Extra) ->
      {ok, State}.
  
negative.code:     ?WARN("err=malformed_syslog_message data=\"~p\"~n",
            [Msg]),
      logplex_stats:incr(message_received_malformed).
  
  duration(#state{connect_time=undefined}) ->
      undefined;
  duration(#state{connect_time=T0}) ->
      US = timer:now_diff(os:timestamp(), T0),
      US / 1000000.
  