httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Brunner <...@muc.de>
Subject [PATCH] mod_cgi and logging
Date Wed, 23 Apr 2003 12:07:04 GMT
We have discovered two minor issues with CGIs sending debugging information
to STDERR:

1. When the CGI sends a "Location" header with an absolute URL the output
   isn't stored in the ErrorLog logfile. log_script_err() is missing in 
   this case.

2. If the last line of STDERR output isn't terminated by '\n' the line
   isn't stored either. log_script_err() or ap_log_rerror() are not called
   when the return code of apr_file_gets() is APR_EOF.

A patch to fix these issues is attached.

Christian
-- 
SpaceNet AG                 Web : http://www.space.net/
Joseph-Dollinger-Bogen 14   Tel : +49-89-32356-0
80807 Muenchen              Fax : +49-89-32356-299

Mime
View raw message