summaryrefslogtreecommitdiff
path: root/include/http_log.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fix parameter name in ap_log_rdata C99 macro def. Eric Covener2015-10-061-1/+1
| | | | | | | | Via PR57045 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1706942 13f79535-47bb-0310-9956-ffa450edef68
* core: Follow up to r1599601: s/ap_log_common/ap_log_mpm_common/.Yann Ylavic2015-05-161-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1679714 13f79535-47bb-0310-9956-ffa450edef68
* minor commentary and indentation fixes for ap_log_*data()Jeff Trawick2014-12-061-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1643538 13f79535-47bb-0310-9956-ffa450edef68
* We really need some place where we can place a wholeJim Jagielski2014-06-031-0/+7
| | | | | | | | bunch of data/info-that-should-be-logged-by-all-mpms. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1599601 13f79535-47bb-0310-9956-ffa450edef68
* fix Doxygen warnings/commentsJeff Trawick2013-08-131-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1513461 13f79535-47bb-0310-9956-ffa450edef68
* Add ap_log_data(), ap_log_rdata(), etc. for logging buffers.Jeff Trawick2013-08-101-0/+173
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1512819 13f79535-47bb-0310-9956-ffa450edef68
* Move *_DECLARE_* macros to beginning of line in headers.Guenter Knauf2012-08-201-1/+1
| | | | | | | Patch submitted by: normw gknw net. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1374963 13f79535-47bb-0310-9956-ffa450edef68
* The Pidfile directive and ap_log_pid()/ap_remove_pid()/ap_read_pid()Jeff Trawick2012-08-061-3/+6
| | | | | | | now respect DefaultRuntimeDir git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1369808 13f79535-47bb-0310-9956-ffa450edef68
* For a local variable in a macro, use a name that is less likely to clashStefan Fritsch2012-04-181-2/+2
| | | | | | | with other variable names. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1327689 13f79535-47bb-0310-9956-ffa450edef68
* Add AP_HAVE_C99 to make correct check for C99 less onerousStefan Fritsch2012-02-211-5/+5
| | | | | | | | Using __STDC_VERSION__ without checking if it is defined causes warnings on C89. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1292043 13f79535-47bb-0310-9956-ffa450edef68
* Add APLOGNO() macro for unique tags for every log message.Stefan Fritsch2011-12-021-0/+8
| | | | | | | Add some scripts to make adding these tags easier. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209743 13f79535-47bb-0310-9956-ffa450edef68
* Pass ap_errorlog_info to error_log hook.Stefan Fritsch2011-11-211-20/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1204614 13f79535-47bb-0310-9956-ffa450edef68
* add conn_rec to error log hookJeff Trawick2011-11-181-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1203634 13f79535-47bb-0310-9956-ffa450edef68
* More cleanup: Expand tabs and some more indentation fixesStefan Fritsch2011-09-231-3/+3
| | | | | | | No functional change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174929 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup effort in prep for GA push:Jim Jagielski2011-09-231-41/+41
| | | | | | | | Trim trailing whitespace... no func change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174748 13f79535-47bb-0310-9956-ffa450edef68
* Fix build failure without HAVE_SYSLOG, e.g. on NetwareStefan Fritsch2011-07-031-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142457 13f79535-47bb-0310-9956-ffa450edef68
* Expand the comment about APLOG_* and C++ a bitStefan Fritsch2011-03-291-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086781 13f79535-47bb-0310-9956-ffa450edef68
* consolidate logic to remove the pidfile in a new API,Jeff Trawick2011-03-281-2/+9
| | | | | | | | | | ap_remove_pid(), related to existing ap_log_pid() and ap_read_pid() presumably this is useful to third-party MPMs as well git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086224 13f79535-47bb-0310-9956-ffa450edef68
* aplog_module_index must always be set for C++, so simplifyJeff Trawick2011-03-261-0/+4
| | | | | | | | the APLOG_MODULE_INDEX macro to avoid warnings with some C++ compilers git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1085724 13f79535-47bb-0310-9956-ffa450edef68
* Correct C++ incompatibility with http_log.h.Jeff Trawick2011-03-261-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1085719 13f79535-47bb-0310-9956-ffa450edef68
* doxygen improvementsStefan Fritsch2010-12-111-14/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1044680 13f79535-47bb-0310-9956-ffa450edef68
* Fix constness in log macro.Rainer Jung2010-10-151-1/+1
| | | | | | | Prevent compiler warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1023026 13f79535-47bb-0310-9956-ffa450edef68
* Add generate_log_id hook to allow to use the ID generated by mod_unique_id asStefan Fritsch2010-09-281-0/+12
| | | | | | | error log ID for requests. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1002125 13f79535-47bb-0310-9956-ffa450edef68
* - add more comments explaining the logging macrosStefan Fritsch2010-08-251-11/+88
| | | | | | | | - make the documentation more doxygen friendly, as suggested by Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@989377 13f79535-47bb-0310-9956-ffa450edef68
* - Introduce ap_log_cserror to allow mod_ssl to associate log messages toStefan Fritsch2010-06-141-2/+54
| | | | | | | | different servers than c->base_server. - Adjust the scope of some mod_ssl trace logging from server to conn. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954611 13f79535-47bb-0310-9956-ffa450edef68
* Use the correct loglevel checks in the wrappers forStefan Fritsch2010-06-131-2/+2
| | | | | | | | ap_log_cerror/ap_log_rerror. This fixes per-dir loglevel configuration for loglevels > notice. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954188 13f79535-47bb-0310-9956-ffa450edef68
* Fix ap_log_perror macro in case of C99 compilation withRainer Jung2010-06-101-2/+2
| | | | | | APLOG_MAX_LOGLEVEL defined. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@953248 13f79535-47bb-0310-9956-ffa450edef68
* Fix build failure by reverting part of r953125Stefan Fritsch2010-06-091-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@953166 13f79535-47bb-0310-9956-ffa450edef68
* Fix some issues found by Ruediger PluemStefan Fritsch2010-06-091-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@953125 13f79535-47bb-0310-9956-ffa450edef68
* - Add loglevels to request_rec and conn_recStefan Fritsch2010-06-061-4/+25
| | | | | | | - Introduce per-directory loglevel configuration git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951897 13f79535-47bb-0310-9956-ffa450edef68
* - Introduce log levels trace1/.../trace8Stefan Fritsch2010-06-061-38/+172
| | | | | | | | | | - Add macro wrappers for ap_log_*error. On C99, this will save argument preparation and function call overhead when a message is not logged because of the configured loglevel. - Introduce per-module loglevel configuration. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951893 13f79535-47bb-0310-9956-ffa450edef68
* Log command line on startup, so there's a record of command lineDaniel Earl Poirier2010-02-161-0/+8
| | | | | | | | arguments like -f. Suggested by Shaya Potter. [Dan Poirier] PR: 48752 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@910684 13f79535-47bb-0310-9956-ffa450edef68
* Fix a lot of doxygen warnings. Thanks to Brad Hards for the patch.Daniel Earl Poirier2009-10-281-1/+1
| | | | | | | | | | | | I added a few more fixes, and there are still more that might need a doxygen expert. PR: 48061 Submitted by: Brad Hards Reviewed by: poirier git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@830527 13f79535-47bb-0310-9956-ffa450edef68
* Fix docs and bump mmn minorWilliam A. Rowe Jr2009-05-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@775312 13f79535-47bb-0310-9956-ffa450edef68
* Revert the default resource abuse introduced in r104019, which can maskWilliam A. Rowe Jr2009-05-151-0/+13
| | | | | | | | | | | | | | | child logger process failures, by migrating back to 2.0.49 and prior when rotated logs were reliable on Solaris, etc. Provides two new piped syntaxes for ErrorLog; "||program" or "|$shellcmd", where the existing 2.2 behavior may be preserved or the new 2.4 behavior explicitly elected. The default should discourage users from "|$" syntax except as required, in the future. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@775300 13f79535-47bb-0310-9956-ffa450edef68
* Make the piped_log structure opaque:Joe Orton2009-05-151-25/+4
| | | | | | | | | | | | | | | * include/http_log.h: Remove piped_log structure definition here; (ap_piped_log_read_fd, ap_piped_log_write_fd): Turn macros into functions. * server/log.c: Move piped_log structure definition here; replace fds[2] with read_fd, write_fd. (ap_piped_log_read_fd, ap_piped_log_write_fd): New functions. (throughout...): Replace use of ap_piped_log_write_fd, ap_piped_log_read_fd, with direct reference to structure fields. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@775120 13f79535-47bb-0310-9956-ffa450edef68
* Remove CORE_PRIVATE.Paul Querna2008-04-071-4/+0
| | | | | | | | | | | This define serves no modern purpose, since every module in the wild, including our own define it, for no purpose. If you have functions which you do not want in the 'public' API, put them in a private header, that is not installed, just like mod_ssl does. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645412 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
* Doxygen fixup / cleanupIan Holsman2005-08-281-23/+35
| | | | | | | | | submited by: Neale Ranns neale ranns.org reviewed by: Ian Holsman git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@263931 13f79535-47bb-0310-9956-ffa450edef68
* The new function ap_logs_child_init() is intended for useJeff Trawick2005-05-201-0/+4
| | | | | | | | only by the core server. Require CORE_PRIVATE to obtain the prototype. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@171093 13f79535-47bb-0310-9956-ffa450edef68
* Prevent hangs of child processes when writing to piped loggers atJeff Trawick2005-05-151-0/+10
| | | | | | | | | | | the time of graceful restart. PR: 26467 Reviewed by: Joe Orton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170281 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.Justin Erenkrantz2005-02-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
* fix prototypes in documentation to match actual const-nessJeff Trawick2004-10-301-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105631 13f79535-47bb-0310-9956-ffa450edef68
* add ap_log_cerror(); use it in a couple of places in core output filterJeff Trawick2004-10-291-9/+43
| | | | | | | so that the client IP address is recorded in the log git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105625 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@102619 13f79535-47bb-0310-9956-ffa450edef68
* fix copyright dates according to the first check inAndré Malo2004-02-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102548 13f79535-47bb-0310-9956-ffa450edef68
* apply Apache License, Version 2.0André Malo2004-02-061-53/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102525 13f79535-47bb-0310-9956-ffa450edef68
* update license to 2004.André Malo2004-01-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102135 13f79535-47bb-0310-9956-ffa450edef68