[Speedycgi-users] Apache log/STDERR problems
Brought to you by:
samh
|
From: Grant D. <gr...@wo...> - 2003-10-28 22:17:45
|
I have seen a few quirks with STDERR output from speedy. The first problem (and the one the most concerns me) shows up using speedy with CGI under Apache. If the first request to Apache after it starts up is to a speedy CGI script that prints a message to STDERR, the STDERR output shows up at the _top_ of the Apache error log, overwriting whatever was there. After that any STDERR output will overwrite existing lines in the error log from the top down. Note that this only happens if the speedy script is the very first request. The second shows up when running a simple script like this in a shell: -------------------------------- #!/usr/bin/speedy print STDERR "STDERR print\n"; print "normal print\n"; -------------------------------- I would expect the STDERR line to always appear first in the output, but it does not. Last, as in http://sourceforge.net/mailarchive/forum.php?thread_id=2413603&forum_id=12206 STDERR output using mod_speedycgi doesn't show up in the Apache error log at all. I have seen these on two different setups: speedy 2.21, RedHat 7.3, perl 5.6.1 (RedHat RPM install), and Apache 1.3.27 (source build) speedy 2.22, RedHat 9, perl 5.8.1 (source build), and Apache 1.3.28 (source build) -Grant |