From ce2774536f74c9511d68c2de600dc042093a83fd Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 20 Apr 2010 17:53:59 +0100 Subject: [PATCH] Send webstump CGI logs to "errs" too to capture all of the decisions --- webstump/scripts/webstump.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webstump/scripts/webstump.pl b/webstump/scripts/webstump.pl index 97b09ed..3da004b 100755 --- a/webstump/scripts/webstump.pl +++ b/webstump/scripts/webstump.pl @@ -12,6 +12,9 @@ if( !($0 =~ /\/scripts\/webstump\.pl$/) ) { $webstump_home = $0; $webstump_home =~ s/\/scripts\/webstump\.pl$//; +my $logfile= "$webstump_home/../errs"; +open STDERR, ">> $logfile" or die "$logfile $!"; + $webstump_home =~ /(^.*$)/; $webstump_home = $1; -- 2.30.2