/[Apache-SVN]/httpd/httpd/trunk/include/http_log.h
ViewVC logotype

Log of /httpd/httpd/trunk/include/http_log.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 830527 - (view) (annotate) - [select for diffs]
Modified Wed Oct 28 13:25:49 2009 UTC (4 weeks, 2 days ago) by poirier
File length: 13120 byte(s)
Diff to previous 775312 (colored)
Fix a lot of doxygen warnings.  Thanks to Brad Hards for the patch.
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

Revision 775312 - (view) (annotate) - [select for diffs]
Modified Fri May 15 20:20:43 2009 UTC (6 months, 1 week ago) by wrowe
File length: 13116 byte(s)
Diff to previous 775300 (colored)
Fix docs and bump mmn minor

Revision 775300 - (view) (annotate) - [select for diffs]
Modified Fri May 15 19:46:45 2009 UTC (6 months, 1 week ago) by wrowe
File length: 13117 byte(s)
Diff to previous 775120 (colored)
Revert the default resource abuse introduced in r104019, which can mask
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.



Revision 775120 - (view) (annotate) - [select for diffs]
Modified Fri May 15 13:05:42 2009 UTC (6 months, 1 week ago) by jorton
File length: 12508 byte(s)
Diff to previous 645412 (colored)
Make the piped_log structure opaque:

* 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.

Revision 645412 - (view) (annotate) - [select for diffs]
Modified Mon Apr 7 08:44:14 2008 UTC (19 months, 3 weeks ago) by pquerna
File length: 13112 byte(s)
Diff to previous 420983 (colored)
Remove CORE_PRIVATE.

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.

Revision 420983 - (view) (annotate) - [select for diffs]
Modified Tue Jul 11 20:33:53 2006 UTC (3 years, 4 months ago) by fielding
File length: 13160 byte(s)
Diff to previous 395228 (colored)
update license header text

Revision 395228 - (view) (annotate) - [select for diffs]
Modified Wed Apr 19 12:11:27 2006 UTC (3 years, 7 months ago) by colm
File length: 13013 byte(s)
Diff to previous 263931 (colored)
Update the copyright year in all .c, .h and .xml files

Revision 263931 - (view) (annotate) - [select for diffs]
Modified Sun Aug 28 23:03:59 2005 UTC (4 years, 3 months ago) by ianh
File length: 13013 byte(s)
Diff to previous 171093 (colored)
Doxygen fixup / cleanup

submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman


Revision 171093 - (view) (annotate) - [select for diffs]
Modified Fri May 20 10:50:17 2005 UTC (4 years, 6 months ago) by trawick
File length: 13178 byte(s)
Diff to previous 170281 (colored)
The new function ap_logs_child_init() is intended for use
only by the core server.  Require CORE_PRIVATE to obtain
the prototype.

Revision 170281 - (view) (annotate) - [select for diffs]
Modified Sun May 15 23:56:48 2005 UTC (4 years, 6 months ago) by trawick
File length: 13130 byte(s)
Diff to previous 151408 (colored)
Prevent hangs of child processes when writing to piped loggers at
the time of graceful restart. 

PR:          26467
Reviewed by: Joe Orton


Revision 151408 - (view) (annotate) - [select for diffs]
Modified Fri Feb 4 20:28:49 2005 UTC (4 years, 9 months ago) by jerenkrantz
File length: 12860 byte(s)
Diff to previous 106103 (colored)
Update copyright year to 2005 and standardize on current copyright owner line.

Revision 106103 - (view) (annotate) - [select for diffs]
Modified Sun Nov 21 18:50:36 2004 UTC (5 years ago) by nd
File length: 12824 byte(s)
Diff to previous 105631 (colored)
general property cleanup

Revision 105631 - (view) (annotate) - [select for diffs]
Modified Sat Oct 30 11:46:06 2004 UTC (5 years ago) by trawick
File length: 12824 byte(s)
Diff to previous 105625 (colored)
fix prototypes in documentation to match actual const-ness

Revision 105625 - (view) (annotate) - [select for diffs]
Modified Fri Oct 29 14:45:24 2004 UTC (5 years ago) by trawick
File length: 12813 byte(s)
Diff to previous 102619 (colored)
add ap_log_cerror(); use it in a couple of places in core output filter
so that the client IP address is recorded in the log

Revision 102619 - (view) (annotate) - [select for diffs]
Modified Mon Feb 9 20:40:53 2004 UTC (5 years, 9 months ago) by nd
File length: 11016 byte(s)
Diff to previous 102548 (colored)
fix name of The Apache Software Foundation

Revision 102548 - (view) (annotate) - [select for diffs]
Modified Sat Feb 7 19:27:57 2004 UTC (5 years, 9 months ago) by nd
File length: 11012 byte(s)
Diff to previous 102525 (colored)
fix copyright dates according to the first check in

Revision 102525 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 22:58:42 2004 UTC (5 years, 9 months ago) by nd
File length: 11012 byte(s)
Diff to previous 102135 (colored)
apply Apache License, Version 2.0

Revision 102135 - (view) (annotate) - [select for diffs]
Modified Thu Jan 1 13:26:26 2004 UTC (5 years, 10 months ago) by nd
File length: 13231 byte(s)
Diff to previous 98573 (colored)
update license to 2004.

Revision 98573 - (view) (annotate) - [select for diffs]
Modified Mon Feb 3 17:53:28 2003 UTC (6 years, 9 months ago) by nd
File length: 13231 byte(s)
Diff to previous 96829 (colored)
finished that boring job:
update license to 2003.

Happy New Year! ;-))

Revision 96829 - (view) (annotate) - [select for diffs]
Modified Sun Sep 15 22:04:01 2002 UTC (7 years, 2 months ago) by wrowe
File length: 13231 byte(s)
Diff to previous 96240 (colored)
  Modify ap_open_logs (an internal function) to follow the hook open_logs
  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.

Revision 96240 - (view) (annotate) - [select for diffs]
Modified Tue Jul 30 18:14:47 2002 UTC (7 years, 4 months ago) by stoddard
File length: 12991 byte(s)
Diff to previous 96007 (colored)
Fix the PATH exposure security problem I thought I fixed in 2.0.36.

Revision 96007 - (view) (annotate) - [select for diffs]
Modified Thu Jul 11 06:14:30 2002 UTC (7 years, 4 months ago) by wrowe
File length: 12985 byte(s)
Diff to previous 95506 (colored)
  Fix code comments

Submitted by:	Stas Bekman <stas@stason.org>

Revision 95506 - (view) (annotate) - [select for diffs]
Modified Tue Jun 4 19:01:05 2002 UTC (7 years, 5 months ago) by stoddard
File length: 12975 byte(s)
Diff to previous 95235 (colored)
Update comments for Stas Bekman

Revision 95235 - (view) (annotate) - [select for diffs]
Modified Thu May 23 12:19:09 2002 UTC (7 years, 6 months ago) by trawick
File length: 12438 byte(s)
Diff to previous 95148 (colored)
add ap_log_pid() for reading an Apache pid file

Submitted by:	Justin Erenkrantz

Revision 95148 - (view) (annotate) - [select for diffs]
Modified Fri May 17 10:48:06 2002 UTC (7 years, 6 months ago) by trawick
File length: 12137 byte(s)
Diff to previous 94744 (colored)
ignore APLOG_NOERRNO; note that it is deprecated

Revision 94744 - (view) (annotate) - [select for diffs]
Modified Mon Apr 22 03:25:40 2002 UTC (7 years, 7 months ago) by stoddard
File length: 12027 byte(s)
Diff to previous 94681 (colored)
Added the APLOG_TOCLIENT flag to ap_log_rerror() to
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.

Revision 94681 - (view) (annotate) - [select for diffs]
Modified Wed Apr 17 16:36:28 2002 UTC (7 years, 7 months ago) by wrowe
File length: 11838 byte(s)
Diff to previous 93918 (colored)
     Introduced -E startup_logfile_name option to httpd to allow admins
     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.

Revision 93918 - (view) (annotate) - [select for diffs]
Modified Wed Mar 13 20:48:07 2002 UTC (7 years, 8 months ago) by fielding
File length: 11546 byte(s)
Diff to previous 92891 (colored)
Update our copyright for this year.

Revision 92891 - (view) (annotate) - [select for diffs]
Modified Thu Jan 17 20:15:12 2002 UTC (7 years, 10 months ago) by wrowe
File length: 11546 byte(s)
Diff to previous 89790 (colored)
  Allow the user to get detailed debugging information without a full
  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.

Revision 89790 - (view) (annotate) - [select for diffs]
Modified Mon Jul 30 17:55:38 2001 UTC (8 years, 4 months ago) by orlikowski
File length: 11497 byte(s)
Diff to previous 89599 (colored)
httpd.exp and lots of other export files are generated based on the
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.

Revision 89599 - (view) (annotate) - [select for diffs]
Modified Wed Jul 18 19:38:35 2001 UTC (8 years, 4 months ago) by trawick
File length: 11485 byte(s)
Diff to previous 89281 (colored)
This patch removes spaces that shouldn't be there.
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

Revision 89281 - (view) (annotate) - [select for diffs]
Modified Wed Jun 6 22:24:54 2001 UTC (8 years, 5 months ago) by rbb
File length: 11487 byte(s)
Diff to previous 88983 (colored)
Add a new request phase, for allowing management modules to forward
error logs to their management agents.

Revision 88983 - (view) (annotate) - [select for diffs]
Modified Thu May 3 23:39:43 2001 UTC (8 years, 6 months ago) by dougm
File length: 11241 byte(s)
Diff to previous 88786 (colored)
another nit caught by C::Scan: change request_rec param name from 's' to 'r' in ap_log_rerror()

Revision 88786 - (view) (annotate) - [select for diffs]
Modified Tue Apr 10 16:57:37 2001 UTC (8 years, 7 months ago) by orlikowski
File length: 11241 byte(s)
Diff to previous 88568 (colored)
Small docco fixes.

Revision 88568 - (view) (annotate) - [select for diffs]
Modified Sat Mar 24 06:43:19 2001 UTC (8 years, 8 months ago) by bjh
File length: 11239 byte(s)
Diff to previous 88184 (colored)
Tweak some declarations so they're picked up by make_export.awk

Revision 88184 - (view) (annotate) - [select for diffs]
Modified Fri Feb 16 04:26:53 2001 UTC (8 years, 9 months ago) by fielding
File length: 11241 byte(s)
Diff to previous 87970 (colored)
Update copyright to 2001

Revision 87970 - (view) (annotate) - [select for diffs]
Modified Sun Feb 4 03:00:15 2001 UTC (8 years, 9 months ago) by dougm
File length: 11236 byte(s)
Diff to previous 87725 (colored)
fix minor prototype inconsistencies noticed with C::Scan

Revision 87725 - (view) (annotate) - [select for diffs]
Modified Thu Jan 18 23:52:03 2001 UTC (8 years, 10 months ago) by wrowe
File length: 11233 byte(s)
Diff to previous 87583 (colored)
  Some missing exports

Revision 87583 - (view) (annotate) - [select for diffs]
Modified Thu Jan 4 18:22:50 2001 UTC (8 years, 10 months ago) by trawick
File length: 11221 byte(s)
Diff to previous 86661 (colored)
Set up stderr logging explictly early in initialization so that a pool is
available for creating the APR representation of stderr.

Revision 86661 - (view) (annotate) - [select for diffs]
Modified Thu Oct 19 00:05:00 2000 UTC (9 years, 1 month ago) by rbb
File length: 11099 byte(s)
Diff to previous 86609 (colored)
Namespace protect the rest of the macros defined by ap_config.h

Revision 86609 - (view) (annotate) - [select for diffs]
Modified Mon Oct 16 06:05:15 2000 UTC (9 years, 1 month ago) by wrowe
File length: 11096 byte(s)
Diff to previous 85999 (colored)
  Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols
  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.

Revision 85999 - (view) (annotate) - [select for diffs]
Modified Sat Aug 5 17:32:08 2000 UTC (9 years, 3 months ago) by rbb
File length: 11096 byte(s)
Diff to previous 85976 (colored)
Remove some old APIs.  These were left around for legacy modules.  Since
we have broken all modules anyway, this is a good time to cleanup a bit.

Revision 85976 - (view) (annotate) - [select for diffs]
Modified Wed Aug 2 05:27:38 2000 UTC (9 years, 3 months ago) by dougm
File length: 11576 byte(s)
Diff to previous 85961 (colored)
prefix libapr functions and types with apr_

Revision 85961 - (view) (annotate) - [select for diffs]
Modified Mon Jul 31 03:54:20 2000 UTC (9 years, 3 months ago) by rbb
File length: 11561 byte(s)
Diff to previous 85002 (colored)
Make http_log use ScanDoc

Revision 85002 - (view) (annotate) - [select for diffs]
Modified Thu Apr 20 16:25:40 2000 UTC (9 years, 7 months ago) by rbb
File length: 6821 byte(s)
Diff to previous 84963 (colored)
Add support for pool to log_error_core.  Also add ap_log_perror to allow
logging without either a request or server _rec.

Revision 84963 - (view) (annotate) - [select for diffs]
Modified Fri Apr 14 15:59:20 2000 UTC (9 years, 7 months ago) by rbb
File length: 6568 byte(s)
Diff to previous 84915 (colored)
Change ap_context_t to ap_pool_t.  This compiles, runs, and serves pages
on Linux, but probably breaks somewhere.

Revision 84915 - (view) (annotate) - [select for diffs]
Modified Wed Apr 5 02:01:09 2000 UTC (9 years, 7 months ago) by trawick
File length: 6580 byte(s)
Diff to previous 84877 (colored)
if HAVE_SYSLOG is defined but LOG_PRIMASK isn't, define LOG_PRIMASK to
the standard value

Revision 84877 - (view) (annotate) - [select for diffs]
Modified Fri Mar 31 07:19:05 2000 UTC (9 years, 8 months ago) by fielding
File length: 6530 byte(s)
Diff to previous 84725 (colored)
Update to Apache Software License version 1.1

Revision 84725 - (view) (annotate) - [select for diffs]
Modified Fri Mar 10 00:07:37 2000 UTC (9 years, 8 months ago) by rbb
File length: 6675 byte(s)
Diff to previous 84493 (colored)
Fix all the License issues.  Including:
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license

Revision 84493 - (view) (annotate) - [select for diffs]
Modified Wed Jan 19 01:16:31 2000 UTC (9 years, 10 months ago) by rbb
File length: 6549 byte(s)
Diff to previous 84200 (colored)
Finish the commits for the change in the header files.  Basically, this hides
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

Revision 84200 - (view) (annotate) - [select for diffs]
Modified Wed Dec 1 01:16:23 1999 UTC (9 years, 11 months ago) by manoj
File length: 6778 byte(s)
Diff to previous 84197 (colored)
Eliminate ap_config.h's checks when using autoconf. Now, ap_ac_config.h
is used instead, and autoconf's configure script will check for
everything else.

Revision 84197 - (view) (annotate) - [select for diffs]
Modified Tue Nov 30 23:27:29 1999 UTC (9 years, 11 months ago) by manoj
File length: 6776 byte(s)
Diff to previous 84196 (colored)
Some compile fixes for the piped log code. It doesn't completely
completely compile, but it looks a little better.

Revision 84196 - (view) (annotate) - [select for diffs]
Modified Tue Nov 30 21:57:37 1999 UTC (9 years, 11 months ago) by manoj
File length: 6775 byte(s)
Diff to previous 84134 (colored)
Add apr_thread_proc.h so it can find ap_proc_t.

Revision 84134 - (view) (annotate) - [select for diffs]
Modified Thu Nov 18 23:07:53 1999 UTC (10 years ago) by rbb
File length: 6745 byte(s)
Diff to previous 84007 (colored)
First step in removing the fprintf(stderr problem from Apache.  Basically,
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.

Revision 84007 - (view) (annotate) - [select for diffs]
Modified Wed Oct 20 12:50:12 1999 UTC (10 years, 1 month ago) by rbb
File length: 6606 byte(s)
Diff to previous 83959 (colored)
Add a status value to ap_log_error and ap_log_rerror.  This allows us to use
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!

Revision 83959 - (view) (annotate) - [select for diffs]
Modified Mon Oct 11 14:20:48 1999 UTC (10 years, 1 month ago) by rbb
File length: 6458 byte(s)
Diff to previous 83879 (colored)
Make Apache use the new ap_create_process call.  This is the first of a
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

Revision 83879 - (view) (annotate) - [select for diffs]
Modified Wed Sep 8 14:15:55 1999 UTC (10 years, 2 months ago) by rbb
File length: 6451 byte(s)
Diff to previous 83852 (colored)
Remove all of the calls to functions like "ap_popenf".  These functions were
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

Revision 83852 - (view) (annotate) - [select for diffs]
Modified Tue Aug 31 05:35:52 1999 UTC (10 years, 3 months ago) by rbb
File length: 6448 byte(s)
Diff to previous 83779 (colored)
Changed pools to contexts.  Tested with prefork and pthread mpm's.  I'll
check this out tomorrow and make sure everything was checked in correctly.

Revision 83779 - (view) (annotate) - [select for diffs]
Modified Thu Aug 26 16:30:39 1999 UTC (10 years, 3 months ago) by fielding
File length: 6416 byte(s)
Diff to previous 83749 (colored)
Odd comments and leftover bits from the pthreads version.
The comments really should be deleted, or at least cleaned up.

Submitted by:	pthreads leftovers

Revision 83749 - (view) (annotate) - [select for diffs]
Added Tue Aug 24 05:50:50 1999 UTC (10 years, 3 months ago) by fielding
File length: 6410 byte(s)
Apache 1.3.9 baseline for the Apache 2.0 repository.

Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9
Submitted by: Apache Group

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2