httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Olsen <>
Subject Re: [PATCH] Adding referer info to error_log
Date Tue, 25 Apr 2000 21:36:56 GMT
On Tue, 25 Apr 2000, Alan Olsen wrote:

> I wrote this to help debug a bunch of contractor-provided web pages.  We
> had lots of error messages of missing images and pages, with no clue of
> where to find what was referencing the page.  (I find it strange that you
> can modify every log file in Apache *except* the error_log.  Any reason
> for this or just an oversight? (But if you speced it wrong, where would
> you write the errors?))

> The file being modified is src/main/http_log.c.


Oops. Forgot to mention that this is patched against 1.3.12.  I have a
slightly different version for 2.0a2.  (The error handling code for that
section seems just a wee bit different. I tried to closely follow the code
used for inserting thecalling IP address into the logs.) | Note to AOL users: for a quick shortcut to reply
Alan Olsen            | to my mail, just hit the ctrl, alt and del keys.
    "In the future, everything will have its 15 minutes of blame."

View raw message