httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <p...@querna.org>
Subject Re: requests possibly not reaching the log phase
Date Sat, 05 Dec 2009 17:50:22 GMT
On Thu, Dec 3, 2009 at 12:43 AM, John ORourke <john-perl@o-rourke.org> wrote:
> (apologies if this is a dupe, I originally sent from the wrong address)
>
> Hi there,
>
> I have an unusual problem - a large e-commerce site integrated with
> Authorize.net for card payments which appears to be failing to log some
> requests.
>
> The Authorize.net system makes HTTP POST requests to our server, and
> about 1 in every 500 transactions, the Authorize.net system reports a
> timeout and there's no trace of the request in our logs.  Authorize.net
> won't investigate in any detail because their system is reporting that
> the request simply timed out.
>
> I'm using mod_perl but not hooking into the logging phase, and using a
> mod_log CustomLog directive which outputs the usual stuff, plus request
> time, connection state, and PID.
>
> So for now, I'm assuming a request is being sent but the log handler
> phase isn't running.  The only way I can make this happen in a test
> environment is by opening a TCP connection and then closing it without
> sending any data.  Are there any other reasons the log phase wouldn't be
> run?

mod_log_forensic was created for exactly this purpose:
<http://httpd.apache.org/docs/2.2/mod/mod_log_forensic.html>

hope that helps,

Paul

Mime
View raw message