summaryrefslogtreecommitdiffstats
path: root/modules/loggers (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add missing apr_ to size_t.Erik Abele2004-01-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102156 13f79535-47bb-0310-9956-ffa450edef68
* * modules/loggers/mod_log_forensic.c (struct hlog, log_before,Joe Orton2004-01-031-3/+3
| | | | | | | log_after): Use apr_size_t for storing string sizes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102154 13f79535-47bb-0310-9956-ffa450edef68
* Make forensic logging EBCDIC-safe.Ben Laurie2004-01-031-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102153 13f79535-47bb-0310-9956-ffa450edef68
* Use ap_assert().Ben Laurie2004-01-031-7/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102152 13f79535-47bb-0310-9956-ffa450edef68
* prevent module from segfaulting when not configured.André Malo2004-01-031-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102145 13f79535-47bb-0310-9956-ffa450edef68
* Add forensic logging.Ben Laurie2004-01-012-0/+316
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102141 13f79535-47bb-0310-9956-ffa450edef68
* update license to 2004.André Malo2004-01-013-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102135 13f79535-47bb-0310-9956-ffa450edef68
* * modules/loggers/mod_log_config.c (log_request_time): LogJoe Orton2003-11-051-1/+1
| | | | | | | | | | the minutes component of the timezone correctly. PR: 23642 Submitted by: Hong-Gunn Chew <hgbug@gunnet.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101703 13f79535-47bb-0310-9956-ffa450edef68
* fix %b format to write really "-" if bytes_sent == 0.André Malo2003-08-191-2/+2
| | | | | | | Submitted by: Kess git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101021 13f79535-47bb-0310-9956-ffa450edef68
* fix a comment to explain how to log the thread idJeff Trawick2003-05-141-2/+2
| | | | | | | Submitted by: nd git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99818 13f79535-47bb-0310-9956-ffa450edef68
* as Andre' pointed out, we don't need %{pid/tid}P since the userJeff Trawick2003-04-191-12/+5
| | | | | | | can do %P/%{tid}P or %{pid}P/%{tid}P git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99449 13f79535-47bb-0310-9956-ffa450edef68
* change the way that thread id is specified in the log format sinceJeff Trawick2003-04-181-12/+19
| | | | | | | | | | | | | the previous implementation used a format string already taken by mod_logio now, an optional %P format is used instead thanks to Andre' Malo for pointing out that I chose a format string already used by mod_logio! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99442 13f79535-47bb-0310-9956-ffa450edef68
* mod_log_config: Add the ability to log the id of the threadJeff Trawick2003-04-181-0/+14
| | | | | | | processing the request (%I). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99439 13f79535-47bb-0310-9956-ffa450edef68
* SECURITY: Eliminated leaks of several file descriptors to childWilliam A. Rowe Jr2003-03-201-1/+0
| | | | | | | | | | | processes, such as CGI scripts. PR: 17206 Submitted by: Christian Kratzer <ck@cksoft.de>, Bjoern A. Zeeb <bz@zabbadoz.net> Reviewed by: Joe Orton, Will Rowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99032 13f79535-47bb-0310-9956-ffa450edef68
* After discussions at length on dev@apr/httpd, it is determined thatWilliam A. Rowe Jr2003-03-112-20/+2
| | | | | | | | | | | the older .dbg format symbols are not worth the interference with generating complete .pdb symbolic debugging databases. This patch further eliminates pdbtype:sept flags that interfere with deciphering local symbols and type information. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98970 13f79535-47bb-0310-9956-ffa450edef68
* Minor MMN bump:André Malo2003-03-071-22/+31
| | | | | | | | | | | | Forward port: Escape special characters (especially control characters) in mod_log_config to make a clear distinction between client-supplied strings (with special characters) and server-side strings. This was already introduced in version 1.3.25. Obtained from: Patch in 1.3.25-dev by Martin git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98912 13f79535-47bb-0310-9956-ffa450edef68
* Let mod_logio be mostly included.André Malo2003-03-061-1/+1
| | | | | | | Submitted by: Astrid Ke�ler git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98909 13f79535-47bb-0310-9956-ffa450edef68
* After consultations on the APR list, it was decided that /map files areWilliam A. Rowe Jr2003-02-202-10/+10
| | | | | | | | | | | | | | | | | | fairly redundant when you retain rich .pdb debugging symbol files. We have rarely used them, and generally .dbg and .pdb files prove much more useful for the cases we have. While eliminating /map files, we are also shrinking the size of the .dbg files by stripping 'private' symbol information. Really this means less rich diagnostics from Dr. Watson on NT or Win9x when they query the .dbg symbols in creating a DrWatson log file. But it's more than compensated for on newer OS'es where Dr. Watson will query the .pdb symbols, on all Win32 flavors when WinDbg is used with the .pdb symbols, and the fact that the distribution of binary symbols will use less bandwidth when less information is duplicated from the .pdb format into the .dbg files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98743 13f79535-47bb-0310-9956-ffa450edef68
* foo.dbgmark turned out to be the same 8.3 name as foo.dbg itself, whichWilliam A. Rowe Jr2003-02-182-4/+4
| | | | | | | | | | was badness. Twist this puppy to .dbr, the only name I could invent that doesn't look like any database file extension I recall. It stands for .dbg rebased. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98712 13f79535-47bb-0310-9956-ffa450edef68
* change optional function to return the previous writer, allowing to have ↵Ian Holsman2003-02-142-6/+12
| | | | | | | | | | | | mutliple types of writers in the same server. (previously you could only have one) it needs a mmn bump.. sorry guys ;( git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98648 13f79535-47bb-0310-9956-ffa450edef68
* Tabs. Runovers. Style violations ... oh my!William A. Rowe Jr2003-02-131-99/+100
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98638 13f79535-47bb-0310-9956-ffa450edef68
* *) Introduce debugging symbols for Win32 release builds, both .pdbWilliam A. Rowe Jr2003-02-072-12/+30
| | | | | | | | | and .dbg files (older debuggers and Dr. Watson-type utilities on WinNT or Win9x don't support the newer .pdb flavor.) [Allen Edwards, William Rowe] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98596 13f79535-47bb-0310-9956-ffa450edef68
* finished that boring job:André Malo2003-02-033-3/+3
| | | | | | | | | update license to 2003. Happy New Year! ;-)) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98573 13f79535-47bb-0310-9956-ffa450edef68
* Catch up with the changes to apr/build/win32ver.awk and name all loadableWilliam A. Rowe Jr2003-01-202-4/+4
| | | | | | | | httpd modules as .so, internally. Credit to Mladen Turk for identifing the issue. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98380 13f79535-47bb-0310-9956-ffa450edef68
* Accept '%%' in CustomLog format strings to produce a literal '%'.William A. Rowe Jr2002-11-251-0/+9
| | | | | | | Submitted by: Andr� Malo <nd@perlig.de> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97644 13f79535-47bb-0310-9956-ffa450edef68
* Well that was a little borked, if you were having stack problems usingWilliam A. Rowe Jr2002-11-011-1/+2
| | | | | | | | logio the missing pre_connection hook declartion could have something to do with it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97379 13f79535-47bb-0310-9956-ffa450edef68
* Inject logio into the win32 buildWilliam A. Rowe Jr2002-11-011-0/+128
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97376 13f79535-47bb-0310-9956-ffa450edef68
* mod_logio modification: count bytes-sent after the writev or sendfileBrian Pane2002-10-251-23/+32
| | | | | | | | | | | | | | | | | call in the core_output_filter, in order to get a more accurate count of the total bytes transmitted in cases where the client terminates the connection before the entire response is sent. Note: This works by adding a flush bucket to each response when mod_logio is used; the side-effect is that pipelined responses get broken up into separate network writes per request (but there's no impact on pipelining when mod_logio is not enabled). Submitted by: Bojan Smojver <bojan@rexursive.com> Reviewed by: Brian Pane git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97300 13f79535-47bb-0310-9956-ffa450edef68
* Adding the current version string to the link of each NLMBradley Nicholes2002-10-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97251 13f79535-47bb-0310-9956-ffa450edef68
* Updating the NLM descriptions in the NetWare make filesBradley Nicholes2002-10-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97241 13f79535-47bb-0310-9956-ffa450edef68
* Add mod_logio to the NetWare buildBradley Nicholes2002-10-031-0/+261
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97066 13f79535-47bb-0310-9956-ffa450edef68
* New Module -- mod_logio.Ian Holsman2002-09-282-0/+228
| | | | | | | | | | | This adds the ability to log the bytes sent and received for each request Submitted by: Bojan Smojver <bojan@rexursive.com> Reviewed by: Justin & Ian git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97000 13f79535-47bb-0310-9956-ffa450edef68
* static-ize a function which is not supposed to be exportedJeff Trawick2002-09-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96835 13f79535-47bb-0310-9956-ffa450edef68
* Revisit the code that Ian and I discussed on list. Actually pre-flightWilliam A. Rowe Jr2002-09-151-26/+16
| | | | | | | | the access logs so that failure conditions are noted earlier, and return out of the code using the != OK convention from ap_hook_open_logs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96828 13f79535-47bb-0310-9956-ffa450edef68
* Return mismatches... this solution simply won't work, as Ian reminded me.William A. Rowe Jr2002-09-141-7/+3
| | | | | | | Needs more work/time I don't have this afternoon, reverting to r 1.91 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96816 13f79535-47bb-0310-9956-ffa450edef68
* At least follow the proper failure path for failure to open the log fileWilliam A. Rowe Jr2002-09-141-3/+7
| | | | | | | | | or logging process. Doesn't fix the lack of preflight testing. Reviewed by: Ian Holsman git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96814 13f79535-47bb-0310-9956-ffa450edef68
* change the log_writer declaration so that it takes a request_rec instead ofIan Holsman2002-09-062-8/+9
| | | | | | | | just a pool. (so that the writer can get to things like hostname) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96666 13f79535-47bb-0310-9956-ffa450edef68
* its >>FNAME<< not >>name<<Ian Holsman2002-08-271-2/+2
| | | | | | | doh git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96547 13f79535-47bb-0310-9956-ffa450edef68
* make the type of the variable explicit to quiet a gcc warningJeff Trawick2002-08-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96544 13f79535-47bb-0310-9956-ffa450edef68
* introduce 2 new callback oppurtunities to allow a 3rd party module to doIan Holsman2002-08-272-86/+222
| | | | | | | | | | | | the actual writing of the log file. also change buffered writing to make it runtime configurable instead of compile time configurable. i'm not 100% on the buffered output, mainly because I'm not sure it worked in a thread safe way *before* this change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96538 13f79535-47bb-0310-9956-ffa450edef68
* use APR_TIME_T_FMT when formatting apr_time_tJeff Trawick2002-07-171-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96099 13f79535-47bb-0310-9956-ffa450edef68
* Replaced APR_USEC_PER_SEC division with the new apr_time_sec() macroBrian Pane2002-06-301-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95915 13f79535-47bb-0310-9956-ffa450edef68
* Change conn_rec->keepalive to an enumerated value ofJustin Erenkrantz2002-06-261-1/+1
| | | | | | | | | | | | | | | | | | | AP_CONN_UNKNOWN AP_CONN_CLOSE AP_CONN_KEEPALIVE This also fixes a problem where ap_discard_request_body would not discard the body when keepalive was 0. This actually meant the keepalive status was unknown *not* closed, but no one ever remembered that. This problem was seen with mod_dav sending error responses (as reported by Karl Fogel). Suggested by: Greg "this isn't the '80s" Stein Reviewed by: Greg Ames git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95891 13f79535-47bb-0310-9956-ffa450edef68
* My logger timestamp cache was using an apr_time_t as the cache key.Brian Pane2002-06-091-8/+8
| | | | | | | | | | | apr_time_t has a resolution of 1 microsecond. For some reason, the cache hit rate wasn't very high. :-) With this change, the cache key is now the time in seconds, not usec. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95588 13f79535-47bb-0310-9956-ffa450edef68
* Well the wrappers work out well... nice to be able to put off committingWilliam A. Rowe Jr2002-06-091-1/+1
| | | | | | | these API changes until the evening ;) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95587 13f79535-47bb-0310-9956-ffa450edef68
* cvs up/diff gets pretty hard to track with vc7 builds.William A. Rowe Jr2002-06-051-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95524 13f79535-47bb-0310-9956-ffa450edef68
* Hmmm... gotta ask the wisdom in using aspecific types over apr_time_*_tWilliam A. Rowe Jr2002-05-131-1/+1
| | | | | | | types. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95068 13f79535-47bb-0310-9956-ffa450edef68
* Added caching of formatted timestamps to speed up the access logger whenBrian Pane2002-05-121-21/+59
| | | | | | | using standard time format git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95046 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate potential ap_server_root_relative segfaults, with the inputWilliam A. Rowe Jr2002-03-161-2/+7
| | | | | | | | | | | of Jeff Trawick's style changes to the first patches. Doesn't include the fixes to ssl [more complex], and we won't trap errors that involve ap_serverroot, since we presume that was normalized on the way in. Therefore, testing ap_server_root_relative(DEFAULT_FOO) cases should never become necessary. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93965 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.Roy T. Fielding2002-03-132-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93918 13f79535-47bb-0310-9956-ffa450edef68