44d3e671a2a094aca231fd3be6d016932aed8271 1643538 |
|
06-Dec-2014 |
trawick |
minor commentary and indentation fixes for ap_log_*data() |
d981a6ecf6f7d394f1f017b19c52383e177a125e 1599601 |
|
03-Jun-2014 |
jim |
We really need some place where we can place a whole
bunch of data/info-that-should-be-logged-by-all-mpms. |
89d55fe6a5e2f13c4e83a68bb4deadddf8616a8a 1513461 |
|
13-Aug-2013 |
trawick |
fix Doxygen warnings/comments |
f87299dab99bc04b51a6b8cad51b6795db862c0a 1512819 |
|
10-Aug-2013 |
trawick |
Add ap_log_data(), ap_log_rdata(), etc. for logging buffers. |
ed6608b05c17ad82dd9391739af837256bdffb42 1374963 |
|
20-Aug-2012 |
fuankg |
Move *_DECLARE_* macros to beginning of line in headers.
Patch submitted by: normw gknw net. |
1ec73fc12d4912ea9f4841c301458454589b32d9 1369808 |
|
06-Aug-2012 |
trawick |
The Pidfile directive and ap_log_pid()/ap_remove_pid()/ap_read_pid()
now respect DefaultRuntimeDir |
b1cb359f4e31b1a0a1d1a05ec255107de0498536 1327689 |
|
18-Apr-2012 |
sf |
For a local variable in a macro, use a name that is less likely to clash
with other variable names. |
1a708a1e22a0d6c1afe567a23b95892dc4e8a20f 1292043 |
|
21-Feb-2012 |
sf |
Add AP_HAVE_C99 to make correct check for C99 less onerous
Using __STDC_VERSION__ without checking if it is defined causes warnings
on C89. |
0d03aadb6c364ae976af4c904aa3625d2512d101 1209743 |
|
02-Dec-2011 |
sf |
Add APLOGNO() macro for unique tags for every log message.
Add some scripts to make adding these tags easier. |
f91e8c44b15a74bedaa027128a695950807e2968 1204614 |
|
21-Nov-2011 |
sf |
Pass ap_errorlog_info to error_log hook. |
f7e064c851d8258e74a9530738e985b3e0a29e18 1203634 |
|
18-Nov-2011 |
trawick |
add conn_rec to error log hook |
11e076839c8d5a82d55e710194d0daac51390dbd 1174929 |
|
23-Sep-2011 |
sf |
More cleanup: Expand tabs and some more indentation fixes
No functional change |
742318b93e89c311f66b55f426c4d9cf2c14628b 1174748 |
|
23-Sep-2011 |
jim |
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change |
1bbc7befe01a5db7fb0aadd168d65b0d8800eac5 1142457 |
|
03-Jul-2011 |
sf |
Fix build failure without HAVE_SYSLOG, e.g. on Netware |
c7666be78b61c5a733606968df594997987f8c29 1086781 |
|
30-Mar-2011 |
sf |
Expand the comment about APLOG_* and C++ a bit |
20e0c71be778348516719e1e58a9f55c8e78c570 1086224 |
|
28-Mar-2011 |
trawick |
consolidate logic to remove the pidfile in a new API,
ap_remove_pid(), related to existing ap_log_pid() and
ap_read_pid()
presumably this is useful to third-party MPMs as well |
40853c161e91b1c9a575369dd5ab839bdff63512 1085724 |
|
26-Mar-2011 |
trawick |
aplog_module_index must always be set for C++, so simplify
the APLOG_MODULE_INDEX macro to avoid warnings with some
C++ compilers |
977c4527be5a21182f24fc22a40a79d576a52f86 1085719 |
|
26-Mar-2011 |
trawick |
Correct C++ incompatibility with http_log.h. |
9160d077717b8137af4fc2f53bd1a5af09c552e5 1044680 |
|
11-Dec-2010 |
sf |
doxygen improvements |
50b8993ca13a433823ba1c75064913a3e723a2ab 1023026 |
|
15-Oct-2010 |
rjung |
Fix constness in log macro.
Prevent compiler warning. |
ce4dc40a4e87991087488f70d96d3447d7557294 1002125 |
|
28-Sep-2010 |
sf |
Add generate_log_id hook to allow to use the ID generated by mod_unique_id as
error log ID for requests. |
3371c98b62cd1841359657f75c6d42317f14c303 989377 |
|
25-Aug-2010 |
sf |
- add more comments explaining the logging macros
- make the documentation more doxygen friendly, as suggested by Justin
Erenkrantz |
7538cfc9bcb1132e87011484b826c0d8bff9cc73 954611 |
|
14-Jun-2010 |
sf |
- Introduce ap_log_cserror to allow mod_ssl to associate log messages to
different servers than c->base_server.
- Adjust the scope of some mod_ssl trace logging from server to conn. |
5dcc8df4cb84e356759f7004035cdffab62c02a8 954188 |
|
13-Jun-2010 |
sf |
Use the correct loglevel checks in the wrappers for
ap_log_cerror/ap_log_rerror. This fixes per-dir loglevel configuration
for loglevels > notice. |
7274a8180a97e2d00b20f99f7177781184238cf4 953248 |
|
10-Jun-2010 |
rjung |
Fix ap_log_perror macro in case of C99 compilation with
APLOG_MAX_LOGLEVEL defined. |
b38de47df065c6ed70ddc9f51a3ab9e0ead163de 953166 |
|
09-Jun-2010 |
sf |
Fix build failure by reverting part of r953125 |
7c253d100ca111a50451b942d839b7be39578027 953125 |
|
09-Jun-2010 |
sf |
Fix some issues found by Ruediger Pluem |
efd83d1dd1a25688a3093c5a542ae16bacef62dd 951897 |
|
06-Jun-2010 |
sf |
- Add loglevels to request_rec and conn_rec
- Introduce per-directory loglevel configuration |
d37a236a4b64d0aeb4a8bbfd3978503af8c82765 951893 |
|
06-Jun-2010 |
sf |
- Introduce log levels trace1/.../trace8
- 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. |
bd27541a0c96caa881f17a490e23cdd220d480c8 910684 |
|
16-Feb-2010 |
poirier |
Log command line on startup, so there's a record of command line
arguments like -f. Suggested by Shaya Potter. [Dan Poirier]
PR: 48752 |
c779aea0c9b7c47c2e4fd258e3f54835a849625d 830527 |
|
28-Oct-2009 |
poirier |
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 |
c31db89a611c342f2f32f46dba40d18102bb9520 775312 |
|
15-May-2009 |
wrowe |
Fix docs and bump mmn minor |
7117ace448072813fa6eb7180ef206fc2e8fcfc7 775300 |
|
15-May-2009 |
wrowe |
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. |
f3a0be90718c1fa5da1bf25e38974d2db3ef8a30 775120 |
|
15-May-2009 |
jorton |
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. |
933c34b8a545925e60026ce9d79c719c518a5b1c 645412 |
|
07-Apr-2008 |
pquerna |
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. |
842ae4bd224140319ae7feec1872b93dfd491143 420983 |
|
11-Jul-2006 |
fielding |
update license header text |
3d81f57512275ca06a60a9bcbd23c1f8b429fdf2 395228 |
|
19-Apr-2006 |
colm |
Update the copyright year in all .c, .h and .xml files |
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8 263931 |
|
29-Aug-2005 |
ianh |
Doxygen fixup / cleanup
submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman |
574787a9a344b4aab0f3cceedda6bbbec92eff37 171093 |
|
20-May-2005 |
trawick |
The new function ap_logs_child_init() is intended for use
only by the core server. Require CORE_PRIVATE to obtain
the prototype. |
82d2a5debc5a6ed2118ac5916d9ba36ad0b5d78b 170281 |
|
16-May-2005 |
trawick |
Prevent hangs of child processes when writing to piped loggers at
the time of graceful restart.
PR: 26467
Reviewed by: Joe Orton |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
27a025998125046655613e70f2f2f6918e78a38c 105631 |
|
30-Oct-2004 |
trawick |
fix prototypes in documentation to match actual const-ness |
e34223f72e630187c4d8ac7c22da5096c833eb20 105625 |
|
29-Oct-2004 |
trawick |
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 |
6de8046f8f7e07cd83895a528df25d977e502c76 102619 |
|
09-Feb-2004 |
nd |
fix name of The Apache Software Foundation |
497c60d05c62d2e4a37b0a0c002f62cd5824b4e3 102548 |
|
07-Feb-2004 |
nd |
fix copyright dates according to the first check in |
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dc 102525 |
|
06-Feb-2004 |
nd |
apply Apache License, Version 2.0 |
26a4456dd6f1a5d7d7fff766551461a578687c4a 102135 |
|
01-Jan-2004 |
nd |
update license to 2004. |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
85c435ceda98eab940615e4466d9c5955252e745 96829 |
|
16-Sep-2002 |
wrowe |
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. |
a5dc2f8330f035fac725e818f13e35f30a2db6c5 96240 |
|
30-Jul-2002 |
stoddard |
Fix the PATH exposure security problem I thought I fixed in 2.0.36. |
1d20116d666a36dc94c26d50d503496a7aded1d4 96007 |
|
11-Jul-2002 |
wrowe |
Fix code comments
Submitted by: Stas Bekman <stas@stason.org> |
25db1e5515f0ba6ad9c4fea2717efd0274619726 95506 |
|
04-Jun-2002 |
stoddard |
Update comments for Stas Bekman |
e3754dae9df2783c2cd88fa8d46bd0a0765e9820 95235 |
|
23-May-2002 |
trawick |
add ap_log_pid() for reading an Apache pid file
Submitted by: Justin Erenkrantz |
127c81d6b2c9ba8932273c2e1b13e3ea3d673b07 95148 |
|
17-May-2002 |
trawick |
ignore APLOG_NOERRNO; note that it is deprecated |
2b13bc45632d72cdf50ac42149e4fc8bc0d05bf2 94744 |
|
22-Apr-2002 |
stoddard |
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. |
b3edf21d591bfd0e64bbec0dda73c0e41d7ecdb6 94681 |
|
17-Apr-2002 |
wrowe |
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. |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
cb9e6e5c78f5a1690214e9548250fc6af1fc73b5 92891 |
|
17-Jan-2002 |
wrowe |
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. |
fcdbe02c16575d9c8b6e14a52269c48f79e08baa 89790 |
|
30-Jul-2001 |
orlikowski |
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. |
6e8a9e05494fa870d9f98fdeccd7a38d6beadb9f 89599 |
|
18-Jul-2001 |
trawick |
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 |
a7318397b355119d990d1f311b951dea2aafc53a 89281 |
|
07-Jun-2001 |
rbb |
Add a new request phase, for allowing management modules to forward
error logs to their management agents. |
f94c5c6ec4106c9276f9e89988689c7fc70e22d8 88983 |
|
04-May-2001 |
dougm |
another nit caught by C::Scan: change request_rec param name from 's' to 'r' in ap_log_rerror() |
31da6720e64a4e83996423be560c51725d1ee39a 88786 |
|
10-Apr-2001 |
orlikowski |
Small docco fixes. |
6a2bd1d848ec0984e2e675b8bb88cef8768d4a32 88568 |
|
24-Mar-2001 |
bjh |
Tweak some declarations so they're picked up by make_export.awk |
b99dbaab171d91e1b664397cc40e039d0c087c65 88184 |
|
16-Feb-2001 |
fielding |
Update copyright to 2001 |
42ce672c516baf6e4eaed18ccc1647de2d456d8e 87970 |
|
04-Feb-2001 |
dougm |
fix minor prototype inconsistencies noticed with C::Scan |
ebc18d48bea83ee5ed7a1b4e30007e5192539829 87725 |
|
19-Jan-2001 |
wrowe |
Some missing exports |
18b197c6ba1d5b8bb5b2fb372ef752f87e56912a 87583 |
|
04-Jan-2001 |
trawick |
Set up stderr logging explictly early in initialization so that a pool is
available for creating the APR representation of stderr. |
7646be5b9ab5b098bc81d3a08a47e1931dc87597 86661 |
|
19-Oct-2000 |
rbb |
Namespace protect the rest of the macros defined by ap_config.h |
3d96ee83babeec32482c9082c9426340cee8c44d 86609 |
|
16-Oct-2000 |
wrowe |
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. |
2c3781c654d928f180b24ae6de6c4426bda0f274 85999 |
|
05-Aug-2000 |
rbb |
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. |
1ccd992d37d62c8cb2056126f2234f64ec189bfd 85976 |
|
02-Aug-2000 |
dougm |
prefix libapr functions and types with apr_ |
45d2afdda0a41335c8c9ae8f22bc7cb35e8a3616 85961 |
|
31-Jul-2000 |
rbb |
Make http_log use ScanDoc |
3597d6b10c88c252f156fe8061b659a38dea38c2 85002 |
|
20-Apr-2000 |
rbb |
Add support for pool to log_error_core. Also add ap_log_perror to allow
logging without either a request or server _rec. |
404e2e1f8ad30c2d996f5fb6b3a9a4a4a14a004b 84963 |
|
14-Apr-2000 |
rbb |
Change ap_context_t to ap_pool_t. This compiles, runs, and serves pages
on Linux, but probably breaks somewhere. |
7c324995bbac99135f6883b6e742afccf479e941 84915 |
|
05-Apr-2000 |
trawick |
if HAVE_SYSLOG is defined but LOG_PRIMASK isn't, define LOG_PRIMASK to
the standard value |
f062ed7bd262a37a909dd77ce5fc23b446818823 84877 |
|
31-Mar-2000 |
fielding |
Update to Apache Software License version 1.1 |
64185f9824e42f21ca7b9ae6c004484215c031a7 84725 |
|
10-Mar-2000 |
rbb |
Fix all the License issues. Including:
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license |
b0f20a4a26bcfa85724b1c2e5ec6a077f12ef44c 84493 |
|
19-Jan-2000 |
rbb |
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 |
aa811cad2eb3fc01d17a5c8eba274b915ab8cd20 84200 |
|
01-Dec-1999 |
manoj |
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. |
2a7d0035b5594ddc0907a9cc545e14ae5140c541 84197 |
|
01-Dec-1999 |
manoj |
Some compile fixes for the piped log code. It doesn't completely
completely compile, but it looks a little better. |
49f33971abd4fb4485ffd2326fa04e2fd5b3469c 84196 |
|
30-Nov-1999 |
manoj |
Add apr_thread_proc.h so it can find ap_proc_t. |
2b484455736f4c30447aa852764f53282cbeb5dd 84134 |
|
19-Nov-1999 |
rbb |
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. |
0942697a9b5de44865676345a3828741c827efe6 84007 |
|
20-Oct-1999 |
rbb |
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! |
2cfdca5be0c69f65b43a888d6d3da846489b8fa5 83959 |
|
11-Oct-1999 |
rbb |
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 |
ab5581cc78e9d865b0a6ab1404c53347b3276968 83879 |
|
08-Sep-1999 |
rbb |
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 |
b4c8a80f7dbfc9b56dbe03bdc28f0b5eb5f23697 83852 |
|
31-Aug-1999 |
rbb |
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. |
061c3874622b67beff724876b9bd1b1f291f2eaa 83779 |
|
26-Aug-1999 |
fielding |
Odd comments and leftover bits from the pthreads version.
The comments really should be deleted, or at least cleaned up.
Submitted by: pthreads leftovers |
2d2eda71267231c2526be701fe655db125852c1f 83749 |
|
24-Aug-1999 |
fielding |
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 |