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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to