Re: Fwd: Patch for user reporting in HTTP
"Bjorn L." <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
Mike Bremford wrote: > 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. It looks like it didn't get through the mailing list the last time. >> 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. Two questions: - Yuo test for status code 401. Should it consider all non-error accesses (status code < 400)? Or only the successful ones (status code >= 200 && status code <300)? - The term "loggin in" is ambiguous and may infer something else. Either "successful accesses" or "non-error accesses" (depending on the answer to the first question) may be more suitable.