summaryrefslogtreecommitdiffstats
path: root/modules/loggers (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * modules/loggers/config.m4: Don't override shared/staticJoe Orton2020-01-141-4/+0
| | | | | | | selection for mod_journald, mod_syslog and mod_log_json. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872779 13f79535-47bb-0310-9956-ffa450edef68
* * modules/loggers/config.m4, modules/md/config2.m4, acinclude.m4:Joe Orton2020-01-141-0/+1
| | | | | | | | | | Correctly link mod_md and mod_log_json (and no other objects) against -ljansson. Removes unnecessary deps on libjansson from other linked objects, and fixes mod_md static build. (see https://travis-ci.org/apache/httpd/jobs/636789380) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872776 13f79535-47bb-0310-9956-ffa450edef68
* Fix to allow the logging of SSL_CIPHER variable (instead of SSL_COPHER)Christophe Jaillet2019-08-101-1/+1
| | | | | | (reported by eric-therond in GitHub issue #60) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1864834 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
* mod_log_json: fixing compilation errors in maintainer mode.Stefan Eissing2018-04-281-3/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1830417 13f79535-47bb-0310-9956-ffa450edef68
* Add mod_log_jsonPaul Querna2018-04-232-0/+180
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1829898 13f79535-47bb-0310-9956-ffa450edef68
* mod_logio: Add LogIOTrackTTFU and %^FU logformatRainer Jung2018-04-091-2/+83
| | | | | | | | to log the time difference between request start and last request body byte read (finished upload). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1828727 13f79535-47bb-0310-9956-ffa450edef68
* * modules/loggers/mod_logio.c (logio_pre_config): Remove pointlessJoe Orton2018-02-021-1/+1
| | | | | | | | | | static in optional fn pointer variable declaration. * modules/ssl/ssl_engine_vars.c (ssl_var_log_config_register): Likewise. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822931 13f79535-47bb-0310-9956-ffa450edef68
* mod_journald: work around possible use of "inline" keyword in systemd #include.Yann Ylavic2017-10-171-4/+12
| | | | | | | This fails to compile before c99, override with APR_INLINE. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1812339 13f79535-47bb-0310-9956-ffa450edef68
* Support use of optional "tag" in syslog entries. Streamline the patch.Jim Jagielski2017-02-241-6/+26
| | | | | | PR 60525. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1784318 13f79535-47bb-0310-9956-ffa450edef68
* https://bz.apache.org/bugzilla/show_bug.cgi?id=58855Jim Jagielski2017-01-091-1/+1
| | | | | | | Optimize check for empty strings git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1778067 13f79535-47bb-0310-9956-ffa450edef68
* Fix spelling in comments and text files.Rainer Jung2016-08-111-1/+1
| | | | | | | | No functional change. PR 59990 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756038 13f79535-47bb-0310-9956-ffa450edef68
* Rename ap_casecmpstr[n]() to ap_cstr_casecmp[n](), update with APR doxygenWilliam A. Rowe Jr2016-06-091-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1747469 13f79535-47bb-0310-9956-ffa450edef68
* Support %{c}h for conn-hostname, %h for useragent_hostWilliam A. Rowe Jr2016-02-121-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1730129 13f79535-47bb-0310-9956-ffa450edef68
* Remove new APLOGNO form mod_log_debug.Rainer Jung2016-01-191-2/+4
| | | | | | | | Here we log the custom log messages provided by the user. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725468 13f79535-47bb-0310-9956-ffa450edef68
* Added many log numbers to log statements thatRainer Jung2016-01-191-2/+4
| | | | | | | | | | | had none. Handled all files in modules/. I used the coccinelle script provided by Stefan. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725392 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1715880: revert more abusive ap_casecmpstr[n]() usages.Yann Ylavic2015-12-291-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1722150 13f79535-47bb-0310-9956-ffa450edef68
* More ap_casecmpstr[n]() usages (follow up to r1715876).Yann Ylavic2015-11-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715880 13f79535-47bb-0310-9956-ffa450edef68
* Use new ap_casecmpstr[n]() functions where appropriate (not exhaustive).Yann Ylavic2015-11-231-13/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715876 13f79535-47bb-0310-9956-ffa450edef68
* Revert r1715789: will re-commit without spurious functional changes.Yann Ylavic2015-11-231-13/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715869 13f79535-47bb-0310-9956-ffa450edef68
* Use new ap_casecmpstr[n]() functions where appropriate (not exhaustive).Yann Ylavic2015-11-231-13/+13
| | | | | | | [Reverted by r1715869] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715789 13f79535-47bb-0310-9956-ffa450edef68
* Remove some useless 'return' statements.Christophe Jaillet2015-11-211-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715568 13f79535-47bb-0310-9956-ffa450edef68
* Revert r1705157: why not "insert the filter (twice) for sub-requests" actually?Yann Ylavic2015-09-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1705160 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1705134: don't insert the filter (twice) for sub-requests.Yann Ylavic2015-09-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1705157 13f79535-47bb-0310-9956-ffa450edef68
* Avoid storing request stuff in r->connection->conn_config toEric Covener2015-09-241-33/+43
| | | | | | | | avoid problems with e.g. write completion. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1705134 13f79535-47bb-0310-9956-ffa450edef68
* Don't count initial handshake I/O when determining the first byte.Eric Covener2015-09-241-9/+7
| | | | | | | | | | | | PR58454 Submitted By: Konstantin J. Chernov Committed By: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1705099 13f79535-47bb-0310-9956-ffa450edef68
* Silence a sparse warning about inconsistent indenting + some minor style issuesChristophe Jaillet2015-08-311-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700331 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1680895:Jeff Trawick2015-05-211-12/+12
| | | | | | | | Let %T be the format character which accepts time resolution arguments. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1680942 13f79535-47bb-0310-9956-ffa450edef68
* mod_log_config: instead of using the new dedicatedRainer Jung2015-05-211-12/+18
| | | | | | | | | | | | | | | | | | pattern format "%M" for duration milliseconds, overload the existing "%D" to choose the time precision ("%{s}D" for seconds, "%{ms}D" for milliseconds and "%{us}D" for microseconds). The existing %T and %D without precision are kept for compatibility. The previously introduced "%M" (r1677187) is removed, it has not yet been released. Format pattern characters are rare, so we should only use a new one if an existing one isn't a good fit. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1680895 13f79535-47bb-0310-9956-ffa450edef68
* const goodnessJeff Trawick2015-05-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1677489 13f79535-47bb-0310-9956-ffa450edef68
* * mod_journald: Remove JournaldCustomLog. It is not needed now whenJan Kaluža2015-04-241-76/+1
| | | | | | | mod_log_config can use mod_journald as errorlog provider. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1675797 13f79535-47bb-0310-9956-ffa450edef68
* * mod_journald: use -lsystemd instead of -lsystemd-journald when foundJan Kaluža2015-04-231-4/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1675701 13f79535-47bb-0310-9956-ffa450edef68
* mod_log_config: Fix a bug introduced by r1674261, when using a log providerBen Reser2015-04-231-2/+2
| | | | | | | the return of ap_default_log_writer was an uninitialized variable. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1675534 13f79535-47bb-0310-9956-ffa450edef68
* mod_log_config: Add %M format to output request duration in milliseconds.Ben Reser2015-04-231-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1675533 13f79535-47bb-0310-9956-ffa450edef68
* * mod_log_config: Allow using ErrorLog providers for CustomLog.Jan Kaluža2015-04-171-3/+96
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1674261 13f79535-47bb-0310-9956-ffa450edef68
* Use 'unsigned int' in bitfieldChristophe Jaillet2015-04-131-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673113 13f79535-47bb-0310-9956-ffa450edef68
* allow time to first byte (of response headers)Eric Covener2015-04-071-3/+72
| | | | | | | | | | | | to be logged by mod_logio. mod_logio was just a conveninent place to do this w/o writing a new filter or complicating an existing important one. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1671918 13f79535-47bb-0310-9956-ffa450edef68
* Fix styleChristophe Jaillet2014-11-111-4/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1638188 13f79535-47bb-0310-9956-ffa450edef68
* Silent some cppcheck warnings.Christophe Jaillet2014-09-011-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1621806 13f79535-47bb-0310-9956-ffa450edef68
* *) SECURITY: CVE-2013-5704 (cve.mitre.org)Eric Covener2014-07-151-0/+14
| | | | | | | | | | | | | | | core: HTTP trailers could be used to replace HTTP headers late during request processing, potentially undoing or otherwise confusing modules that examined or modified request headers earlier. Adds "MergeTrailers" directive to restore legacy behavior. Submitted By: Edward Lu, Yann Ylavic, Joe Orton, Eric Covener Committed By: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610814 13f79535-47bb-0310-9956-ffa450edef68
* Suggestion from Rick Houser -- for compatibility, pick an unusualEric Covener2014-07-151-4/+4
| | | | | | | | character as the first character in a 2/3 character pattern. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610707 13f79535-47bb-0310-9956-ffa450edef68
* allow two character mod_log_config formatsEric Covener2014-07-151-3/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610686 13f79535-47bb-0310-9956-ffa450edef68
* mod_journald: New module implementing error_log provider for systemd-journald.Jan Kaluža2014-07-142-0/+290
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610339 13f79535-47bb-0310-9956-ffa450edef68
* add GlobalLog directive to allow a diagnostic log to be inheritedEric Covener2014-06-031-2/+35
| | | | | | | | | | | by all virtual hosts, even if they define their own logs. Submitted By: Edward Lu <Chaosed0 gmail.com> Committed by: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1599535 13f79535-47bb-0310-9956-ffa450edef68
* CVE-2014-0098 (reported by Rainer Canavan <rainer-apache 7val com>)William A. Rowe Jr2014-03-071-6/+17
| | | | | | | | | | | | | | | Segfaults w/ truncated cookie logging. Clean up the cookie logging parser to recognize only the cookie=value pairs, not valueless cookies. This refactors multiple passes over the same string buffer into a single pass parser. Submitted by: wrowe Reviewed by: rpluem, jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1575400 13f79535-47bb-0310-9956-ffa450edef68
* Revert r1574518 to get 2.2/2.4/2.x all back in sync for a single fixWilliam A. Rowe Jr2014-03-071-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1575394 13f79535-47bb-0310-9956-ffa450edef68
* ensure cookies have name/valueJim Jagielski2014-03-051-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1574518 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
* Add parse_errorlog_arg callback to ap_errorlog_provider to allow providersJan Kaluža2013-11-121-0/+13
| | | | | | | | to check the ErrorLog argument. Implement this check in mod_syslog. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1541029 13f79535-47bb-0310-9956-ffa450edef68