Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

460
Vistas
Tomcat log: what's the difference between %D and %F

I am using tomcat log to log the access info and the definitions of %D and %F in official doc is

%D - Time taken to process the request, in millis

%F - Time taken to commit the response, in millis

I am confused by this two definitions, does the time of %F includes the time of %D?

Thanks in advance!

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

%D includes %F plus any network time

There is a bit more information in the API Doc https://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/valves/AccessLogValve.html

AccessLogValve.ElapsedTimeElement write time taken to process the request - %D, %T

AccessLogValve.FirstByteTimeElement write time until first byte is written (commit time) in millis - %F

In the Bugzilla entry for %F it says https://bz.apache.org/bugzilla/show_bug.cgi?id=55102

Tomcat's AccessLogValve is able to report the time taken to send an entire request using %D. This is the total processing time and may be affected by network conditions. It is sometimes useful to be able to record the time taken by the server to prepare the response and send the first content to the client.

Attached is a patch that records the time the response is committed and then allows that to be reported in the access log using a '%F' pattern (which is the same as used by the mod-log-firstbyte module for HTTPD).

about 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda