summaryrefslogtreecommitdiffstats
path: root/modules/loggers/mod_log_forensic.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Length computed by count_string() are accumulated in an apr_size_t, so be ↵Christophe Jaillet2022-05-041-2/+2
| | | | | | more consistent and use this data type also in this function. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1900564 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1856490: missing one mod_log_forensic test_char_table case.Yann Ylavic2019-03-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1856491 13f79535-47bb-0310-9956-ffa450edef68
* Provide TEST_CHAR marco in test_char.hYann Ylavic2019-03-281-1/+1
| | | | | | | | For (internal) usage outside server/util.c, mod_log_forensic for now and mod_cache (T_HTTP_TOKEN_STOP) in a few... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1856490 13f79535-47bb-0310-9956-ffa450edef68
* more apr_file_write_full() simplification (like r1542413)Jeff Trawick2013-11-151-8/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1542416 13f79535-47bb-0310-9956-ffa450edef68
* Use ap_bin2hex instead of sprintf(..., "%02x". It gives the same output and ↵Christophe Jaillet2013-01-061-1/+1
| | | | | | | | | | | is faster. No real speedup should be achieved on production machine, because this is done only for characters that need to be escaped. However, this will close PR 50919. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1429564 13f79535-47bb-0310-9956-ffa450edef68
* Don't log a spurious "-" if a request has been rejectedStefan Fritsch2012-11-181-1/+1
| | | | | | | | | before mod_log_forensic could attach its id to it. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693292 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1410954 13f79535-47bb-0310-9956-ffa450edef68
* Replace use of apr_file_write() with apr_file_write_full() to preventStefan Fritsch2012-04-261-2/+2
| | | | | | | | | | | | incomplete writes. Add comments in some places where error handling/logging is missing. PR: 53131. Submitted by: Nicolas Viennot <apache viennot biz>, Stefan Fritsch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331110 13f79535-47bb-0310-9956-ffa450edef68
* Add lots of unique tags to error log messagesStefan Fritsch2011-12-031-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209766 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup effort in prep for GA push:Jim Jagielski2011-09-231-1/+1
| | | | | | | | Trim trailing whitespace... no func change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174751 13f79535-47bb-0310-9956-ffa450edef68
* Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to takeStefan Fritsch2010-06-061-1/+1
| | | | | | | advantage of per-module loglevels git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951895 13f79535-47bb-0310-9956-ffa450edef68
* * Hex pids are bogus anyway and on environments with APR_PID_T_FMT d thisRuediger Pluem2008-01-121-1/+1
| | | | | | | breaks and print x. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@611376 13f79535-47bb-0310-9956-ffa450edef68
* * Silence a compiler warning by using the correct format.Ruediger Pluem2008-01-031-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@608508 13f79535-47bb-0310-9956-ffa450edef68
* update license header textRoy T. Fielding2006-07-111-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420983 13f79535-47bb-0310-9956-ffa450edef68
* Update the copyright year in all .c, .h and .xml filesColm MacCarthaigh2006-04-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395228 13f79535-47bb-0310-9956-ffa450edef68
* No functional Change: Removing trailing whitespace. This alsoJim Jagielski2005-11-101-1/+1
| | | | | | | | means that "blank" lines consisting of just spaces or tabs are now really blank lines git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332306 13f79535-47bb-0310-9956-ffa450edef68
* Update remaining 2004 copyright notices.Joe Orton2005-06-141-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@190592 13f79535-47bb-0310-9956-ffa450edef68
* fix build on systems without unistd.hAndré Malo2004-04-261-1/+3
| | | | | | | Submitted by: Guenter Knauf <eflash gmx.net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103530 13f79535-47bb-0310-9956-ffa450edef68
* forward port to not log twiceAndré Malo2004-02-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102730 13f79535-47bb-0310-9956-ffa450edef68
* do not exit() from inside a module!André Malo2004-02-211-6/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102729 13f79535-47bb-0310-9956-ffa450edef68
* ugh! Fix log open error condition, which never matched.André Malo2004-02-211-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102728 13f79535-47bb-0310-9956-ffa450edef68
* allow log pipes to be relative to serverroot as wellAndré Malo2004-02-211-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102727 13f79535-47bb-0310-9956-ffa450edef68
* there's no such defaultAndré Malo2004-02-211-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102725 13f79535-47bb-0310-9956-ffa450edef68
* fix name of The Apache Software FoundationAndré Malo2004-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102618 13f79535-47bb-0310-9956-ffa450edef68
* oopsAndré Malo2004-02-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102568 13f79535-47bb-0310-9956-ffa450edef68
* fix copyright dates according to the first checkinAndré Malo2004-02-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102566 13f79535-47bb-0310-9956-ffa450edef68
* apply Apache License, Version 2.0André Malo2004-02-061-54/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102525 13f79535-47bb-0310-9956-ffa450edef68
* Undo last change in order not to break Netware builds...Martin Kraemer2004-01-051-1/+1
| | | | | | | PR: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102190 13f79535-47bb-0310-9956-ffa450edef68
* Ugly hack to get this module to compile. The path to test_char.h (whichMartin Kraemer2004-01-051-1/+1
| | | | | | | | | lives in the server/ directory) must either be added to one of the build/*.m4 files --which would be even uglier--, to the modules/logger/Makefile, or to the modules/loggers/mod_log_forensic.c file itself. For now, put it here. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102186 13f79535-47bb-0310-9956-ffa450edef68
* Don't hardcode the location of the test_char.h header. The path should be ↵Bradley Nicholes2004-01-031-2/+2
| | | | | | added to the INCLUDE path. Also, use the apr_uint32_t type for next_id which is compatible with the apr_atomic functions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102164 13f79535-47bb-0310-9956-ffa450edef68
* 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-011-0/+315
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102141 13f79535-47bb-0310-9956-ffa450edef68