title: Negative response time in Jetty server access log
body: <p>I'm running on Jetty and my access log is configured to show the response time.</p>
  
  <p>today I noticed that a very minimal amount of the requests (about 30 out of 600K) have a negative response time and I was wondering if anyone ever encountered such a behavior.</p>
  
  <p>This is a sample of my response:
  &lt;[IP]> -  -  &lt;[date]> "POST &lt;[url]> HTTP/1.0" 201 461  -18096</p>
  
  <p>In case you want to identify this in the access log - this is the grep command i used:</p>
  
  <p>grep --color "-[0-9][0-9]*" server-access.2013_12_09.log </p>
  
  <p><strong>Jetty Version:</strong> 8.1.8</p>
  
  <p><strong>Setup in jetty.xml:</strong></p>
  
  <pre><code>&lt;New id="request-log-handler" class="org.eclipse.jetty.server.handler.RequestLogHandler"&gt;
  &lt;Set name="requestLog"&gt;
    &lt;New class="org.eclipse.jetty.server.NCSARequestLog"&gt;
      &lt;Arg&gt;
        &lt;Property name="logging.httpAccessLog" default="logs/app-access.yyyy_mm_dd.log" /&gt;
      &lt;/Arg&gt;
      &lt;Set name="retainDays"&gt;
        &lt;Property name="logging.accessLogRetentionInDays" default="10" /&gt;
      &lt;/Set&gt;
      &lt;Set name="append"&gt;
        &lt;Property name="logging.httpAccessLogAppend" default="true" /&gt;
      &lt;/Set&gt;
      &lt;!-- logs referer and user agent --&gt;
      &lt;Set name="extended"&gt;
        &lt;Property name="logging.httpAccessLogExtended" default="false" /&gt;
      &lt;/Set&gt;
      &lt;!-- response time --&gt;
      &lt;Set name="logLatency"&gt;
        &lt;Property name="logging.httpAccessLogLatency" default="true" /&gt;
      &lt;/Set&gt;
    &lt;/New&gt;
  &lt;/Set&gt;
  </code></pre>
  
  <p></p>