From c056385669cefa02e2a94f96d8edea570f3c887e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 19 Nov 2020 11:13:34 +0100 Subject: [PATCH] Bug 26854: Remove log of STDERR See discussion on comments 12-20 Signed-off-by: Jonathan Druart --- tools/stage-marc-import.pl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/stage-marc-import.pl b/tools/stage-marc-import.pl index a8d4c1189c..97767bfa1b 100755 --- a/tools/stage-marc-import.pl +++ b/tools/stage-marc-import.pl @@ -128,11 +128,6 @@ if ($completedJobID) { # Otherwise, the AJAX request to this script won't return properly close STDOUT; close STDERR; - my $logdir = C4::Context->config('logdir'); - if ($logdir && -d $logdir){ - my $logfile = sprintf("%s/%s",$logdir,'background-jobs.log'); - open(STDERR, '>>', $logfile); - } } else { # fork failed, so exit immediately warn "fork failed while attempting to run tools/stage-marc-import.pl as a background job: $!"; -- 2.39.5