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 45788] New: mod_log_forensic output shouldn't be buffered when piped to filter
Date Fri, 12 Sep 2008 05:27:48 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45788

           Summary: mod_log_forensic output shouldn't be buffered when piped
                    to filter
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_log_forensic
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: richw@richw.org


I need to do some network tests which require me to know exactly when any given
HTTP request starts and ends. I think mod_log_forensic could give me what I
need, if only there were time stamps in the forensic log data.

I tried piping the forensic log output to a filter program that prepended time
stamps to each line of log data, but this didn't work because the log data was
apparently being stdio-buffered as it left mod_log_forensic.  I can't think of
any reason for buffering of the forensic log output as it's being piped into a
filter, and I'd like to request that this buffering be turned off so that each
line of log data goes immediately to the filter program.

Better yet, I'd like to propose that mod_log_forensic itself should be enhanced
to include its own high-precision time stamps -- though I realize there might
be resistance to doing this out of concerns for backward compatibility of the
format.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message