Fwd: Patch for user reporting in HTTP
Mike Bremford <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Kirk and/or logwatch-patches I sent this through a few months back but didn't get a response, and I've just noticed it's not in CVS. Up to you if you want to include it of course (although I think it's useful), but I'm just resending it in case it got lost in the post. I've tested it and it applies to the latest CVS version, with a few line offsets. Cheers... Mike -- ----------------------------------------------------- Mike Bremford - CTO [email protected] Big Faceless Organization http://bfo.co.uk Begin forwarded message: > From: Mike Bremford <[email protected]> > Date: 20 July 2006 10:56:17 BDT > To: [email protected] > Subject: Patch for user reporting in HTTP > > Hi there > > Here's a patch with three changes: > > 1. We need to keep track of who's logging in to our HTTP server > from where, so I've patched "http" to tot this up in the same way > as for requests with error response codes. > > 2. I also noticed the HTTP_IGNORE_URLS example in the http.conf > wasn't working as described - the quotes had to be removed from the > example, at least on my system (Fedora 4/perl 5.8.6). > > 3. In the same vein as HTTP_IGNORE_URLS, I added an HTTP_IGNORE_IPS > to prevent logging of access from certain IP addresses. Tested and > working. > > Hope this proves useful. > Cheers... Mike > -- > ----------------------------------------------------- > Mike Bremford - CTO [email protected] > Big Faceless Organization http://big.faceless.org > > > > > _______________________________________________ Logwatch-Devel mailing list [email protected] http://www2.list.logwatch.org:81/mailman/listinfo/logwatch-devel
http.diff.gz
(application/x-gzip, 1.3 KB) - not displayed