Mailing List Archive

[Bug 7480] New: - Bug in apache error log
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7480>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7480

Bug in apache error log

Summary: Bug in apache error log
Product: Apache httpd-1.3
Version: 1.3.23
Platform: PC
URL: http://www.eurotax.com
OS/Version: Linux
Status: NEW
Severity: Minor
Priority: Other
Component: All
AssignedTo: bugs@httpd.apache.org
ReportedBy: khan438@hotmail.com


We have been running a cgi-script with Apache HTTP server for two years. The
cgi-scripts exits normally. But apache always writes the following string
during every execution of the cgi-script:
================= From apache error.log ======================
[Tue Mar 26 11:07:43 2002] [error] 1:39776969,2:,3:,4:,5:,6:,7:
[Tue Mar 26 11:08:15 2002] [error] 1:39776969,2:,3:,4:,5:,6:,7:
[Tue Mar 26 11:10:14 2002] [error] 1:39776969,2:,3:,4:,5:,6:,7:
[Tue Mar 26 11:10:18 2002] [error] 1:39776969,2:,3:,4:,5:,6:,7:
[Tue Mar 26 11:10:22 2002] [error] 1:39776969,2:,3:,4:,5:,6:,7:
[Tue Mar 26 11:11:34 2002] [error] 1:39776969,2:,3:,4:,5:,6:,7:
========================= END =================================
The cgi-script itself does not write anything in the standard output. It does
some calculation and stores the result in database and redirects the
user'browser... Here is the only Output function that is used in the cgi-
script: printf("Location: http://website/resource?xxx\r\n\r\n");. It exits
normally.

I guess there is something wrong in Apache http server's error logging or in
executing cgi-script. Although, it is not an error. Nevertheless, it writes
unecessary error logs that consumes disk space.

I have checked the httpd.conf. It seems to be O.K. Any suggestions or tricks to
get rid of this problem will be highly appreciated.

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org