httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29696] New: - does not log request completion time even with #define I_INSIST_ON_EXTRA_CYCLES_FOR_CLF_COMPLIANCE
Date Sun, 20 Jun 2004 11:25:30 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29696>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29696

does not log request completion time even with #define I_INSIST_ON_EXTRA_CYCLES_FOR_CLF_COMPLIANCE

           Summary: does not log request completion time even with #define
                    I_INSIST_ON_EXTRA_CYCLES_FOR_CLF_COMPLIANCE
           Product: Apache httpd-2.0
           Version: 2.0.46
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_log_config
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: alois@astro.ch


file modules/loggers/mod_log_config.c
has a special #define  I_INSIST_ON_EXTRA_CYCLES_FOR_CLF_COMPLIANCE
which has the purpose that logfile timestamps log the completion time
of a request, and not the new 2.0 default, which is the begin time of a request.

This #define does not work for Customlog, because of a bug:
r->request_time is used anyway!

The patch is
@@ -556,7 +548,7 @@
             char sign;
             int timz;

-            ap_explode_recent_localtime(&xt, r->request_time);
+            ap_explode_recent_localtime(&xt, request_time);
             timz = xt.tm_gmtoff;
             if (timz < 0) {
                 timz = -timz;

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message