summaryrefslogtreecommitdiff
path: root/include/http_log.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
* finished that boring job:André Malo2003-02-031-1/+1
| | | | | | | | | 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
* Modify ap_open_logs (an internal function) to follow the hook open_logsWilliam A. Rowe Jr2002-09-151-2/+7
| | | | | | | | | argument schema so it can be directly invoked by the hook handler. Also clean up the open_logs processing to return an error rather than simply exit()ing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96829 13f79535-47bb-0310-9956-ffa450edef68
* Fix the PATH exposure security problem I thought I fixed in 2.0.36.Bill Stoddard2002-07-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96240 13f79535-47bb-0310-9956-ffa450edef68
* Fix code commentsWilliam A. Rowe Jr2002-07-111-3/+3
| | | | | | | Submitted by: Stas Bekman <stas@stason.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96007 13f79535-47bb-0310-9956-ffa450edef68
* Update comments for Stas BekmanBill Stoddard2002-06-041-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95506 13f79535-47bb-0310-9956-ffa450edef68
* add ap_log_pid() for reading an Apache pid fileJeff Trawick2002-05-231-0/+8
| | | | | | | Submitted by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95235 13f79535-47bb-0310-9956-ffa450edef68
* ignore APLOG_NOERRNO; note that it is deprecatedJeff Trawick2002-05-171-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95148 13f79535-47bb-0310-9956-ffa450edef68
* Added the APLOG_TOCLIENT flag to ap_log_rerror() toBill Stoddard2002-04-221-0/+5
| | | | | | | | | | | | | explicitly tell the server that warning messages should be sent to the client in addition to being recorded in the error log. Prior to this change, ap_log_rerror() always sent warning messages to the client. In one case, a faulty CGI script caused the server to send a warning message to the client that contained the full path to the CGI script. This could be considered a minor security exposure. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94744 13f79535-47bb-0310-9956-ffa450edef68
* Introduced -E startup_logfile_name option to httpd to allow adminsWilliam A. Rowe Jr2002-04-171-0/+8
| | | | | | | | | to begin logging errors immediately. This provides Win32 users an alternative to sending startup errors to the event viewer, and allows other daemon tool authors an alternative to logging to stderr. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94681 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.Roy T. Fielding2002-03-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93918 13f79535-47bb-0310-9956-ffa450edef68
* Allow the user to get detailed debugging information without a fullWilliam A. Rowe Jr2002-01-171-0/+2
| | | | | | | | | | | | | recompile [absolutely necessary on Win32 and other platforms that really don't support administrator-compilation.] -e level follows the LogLevel options. The only question, should -e override the compiled-in default for the creation of the server_rec? No strong feeling either way, here. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92891 13f79535-47bb-0310-9956-ffa450edef68
* httpd.exp and lots of other export files are generated based on theVictor J. Orlikowski2001-07-301-1/+1
| | | | | | | | | | | AP[RU]_DECLARE macros. This commit gets mod_cgid working again as a DSO on AIX. However, this brings up the need to look for any functions that are available as part of the API, and AP[RU]_DECLAREing them, so things don't blow up in DSOs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89790 13f79535-47bb-0310-9956-ffa450edef68
* This patch removes spaces that shouldn't be there.Jeff Trawick2001-07-181-2/+2
| | | | | | | | | | | | | It bit me when I tried to get the new make_exports to work. I now fixed my make_exports (will commit patch later), so that will eat this anyway, but it seems nicer to make this obey the coding style rules as well. Submitted by: Sander Striker git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89599 13f79535-47bb-0310-9956-ffa450edef68
* Add a new request phase, for allowing management modules to forwardRyan Bloom2001-06-061-0/+5
| | | | | | | error logs to their management agents. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89281 13f79535-47bb-0310-9956-ffa450edef68
* another nit caught by C::Scan: change request_rec param name from 's' to 'r' ↵Doug MacEachern2001-05-031-2/+2
| | | | | | in ap_log_rerror() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88983 13f79535-47bb-0310-9956-ffa450edef68
* Small docco fixes.Victor J. Orlikowski2001-04-101-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88786 13f79535-47bb-0310-9956-ffa450edef68
* Tweak some declarations so they're picked up by make_export.awkBrian Havard2001-03-241-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88568 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright to 2001Roy T. Fielding2001-02-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88184 13f79535-47bb-0310-9956-ffa450edef68
* fix minor prototype inconsistencies noticed with C::ScanDoug MacEachern2001-02-041-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87970 13f79535-47bb-0310-9956-ffa450edef68
* Some missing exportsWilliam A. Rowe Jr2001-01-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87725 13f79535-47bb-0310-9956-ffa450edef68
* Set up stderr logging explictly early in initialization so that a pool isJeff Trawick2001-01-041-0/+6
| | | | | | | available for creating the APR representation of stderr. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87583 13f79535-47bb-0310-9956-ffa450edef68
* Namespace protect the rest of the macros defined by ap_config.hRyan Bloom2000-10-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86661 13f79535-47bb-0310-9956-ffa450edef68
* Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbolsWilliam A. Rowe Jr2000-10-161-6/+6
| | | | | | | | | | for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper) and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE. All _VAR_ flavors changes to _DATA to be absolutely clear. Thank you Greg, for the most obvious suggestion. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86609 13f79535-47bb-0310-9956-ffa450edef68
* Remove some old APIs. These were left around for legacy modules. SinceRyan Bloom2000-08-051-10/+0
| | | | | | | we have broken all modules anyway, this is a good time to cleanup a bit. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85999 13f79535-47bb-0310-9956-ffa450edef68
* prefix libapr functions and types with apr_Doug MacEachern2000-08-021-13/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85976 13f79535-47bb-0310-9956-ffa450edef68
* Make http_log use ScanDocRyan Bloom2000-07-311-5/+123
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85961 13f79535-47bb-0310-9956-ffa450edef68
* Add support for pool to log_error_core. Also add ap_log_perror to allowRyan Bloom2000-04-201-6/+10
| | | | | | | logging without either a request or server _rec. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85002 13f79535-47bb-0310-9956-ffa450edef68
* Change ap_context_t to ap_pool_t. This compiles, runs, and serves pagesRyan Bloom2000-04-141-4/+4
| | | | | | | on Linux, but probably breaks somewhere. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84963 13f79535-47bb-0310-9956-ffa450edef68
* if HAVE_SYSLOG is defined but LOG_PRIMASK isn't, define LOG_PRIMASK toJeff Trawick2000-04-051-0/+4
| | | | | | | the standard value git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84915 13f79535-47bb-0310-9956-ffa450edef68
* Update to Apache Software License version 1.1Roy T. Fielding2000-03-311-33/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84877 13f79535-47bb-0310-9956-ffa450edef68
* Fix all the License issues. Including:Ryan Bloom2000-03-101-9/+9
| | | | | | | | | s/Apache Group/Apache Software Foundation/ s/1999/2000/ s/Sascha's license/ASF license git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84725 13f79535-47bb-0310-9956-ffa450edef68
* Finish the commits for the change in the header files. Basically, this hidesRyan Bloom2000-01-191-13/+3
| | | | | | | | | | all of the Apache macros that modules don't need access to. This should have been committed with the modules, but I wasn't paying attention to the directory I was in when I ran the commit. Submitted by: Manoj Kasichainula and Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84493 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate ap_config.h's checks when using autoconf. Now, ap_ac_config.hManoj Kasichainula1999-12-011-2/+2
| | | | | | | | is used instead, and autoconf's configure script will check for everything else. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84200 13f79535-47bb-0310-9956-ffa450edef68
* Some compile fixes for the piped log code. It doesn't completelyManoj Kasichainula1999-11-301-1/+1
| | | | | | | completely compile, but it looks a little better. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84197 13f79535-47bb-0310-9956-ffa450edef68
* Add apr_thread_proc.h so it can find ap_proc_t.Manoj Kasichainula1999-11-301-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84196 13f79535-47bb-0310-9956-ffa450edef68
* First step in removing the fprintf(stderr problem from Apache. Basically,Ryan Bloom1999-11-181-0/+3
| | | | | | | | | | | | | I defined APLOG_STARTUP, which refrains from printing the date string and the log level information in log_error_core. I then changed all the fprintf(stderr calls to ap_log_error, and used APLOG_STARTUP. log_error_core on Unix takes care of creating a log file and directing it to stderr if a log file isn't already active. I will continue to make these changes tomorrow. Currently, the main code and the dexter mpm have been modified. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84134 13f79535-47bb-0310-9956-ffa450edef68
* Add a status value to ap_log_error and ap_log_rerror. This allows us to useRyan Bloom1999-10-201-6/+8
| | | | | | | | apr_status codes in our error logs. The main advantage of this, is portable error codes. Now, Windows will finally be able to use errno! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84007 13f79535-47bb-0310-9956-ffa450edef68
* Make Apache use the new ap_create_process call. This is the first of aRyan Bloom1999-10-111-1/+1
| | | | | | | | | | | group of patches. This patch, allows the core server to compile and serve pages. There is a set of patches which will follow to allow the standard modules to use ap_create_process. This change should make writing code which spawns new processes easy to read and understand. Submitted by: Paul Reder git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83959 13f79535-47bb-0310-9956-ffa450edef68
* Remove all of the calls to functions like "ap_popenf". These functions wereRyan Bloom1999-09-081-3/+3
| | | | | | | | | | moved down to APR, but they are being removed. They are not portable, and were only moved down for backwards compatability. With this change, they can be safely removed, which is the next commit on it's way. Submitted by: Ryan Bloom and Paul Reder git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83879 13f79535-47bb-0310-9956-ffa450edef68
* Changed pools to contexts. Tested with prefork and pthread mpm's. I'llRyan Bloom1999-08-311-4/+4
| | | | | | | check this out tomorrow and make sure everything was checked in correctly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83852 13f79535-47bb-0310-9956-ffa450edef68
* Odd comments and leftover bits from the pthreads version.Roy T. Fielding1999-08-261-1/+1
| | | | | | | | | The comments really should be deleted, or at least cleaned up. Submitted by: pthreads leftovers git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83779 13f79535-47bb-0310-9956-ffa450edef68