in reply to stderr to script-logfile with CGI::Fast

Try
BEGIN { use CGI::Carp qw(carpout); open(LOG, ">>/usr/local/cgi-logs/mycgi-log") or die("Unable to open mycgi-log: $!\n"); carpout(LOG); }

Replies are listed 'Best First'.
Re^2: stderr to script-logfile with CGI::Fast
by poulhs (Beadle) on Apr 06, 2011 at 18:33 UTC

    Thanks, but that did not do the trick, CGI::Fast->new() (actually FCGI), reopens the file-handle.

    anyone got an idea how to change this behavior?