Bug 26854: Remove log of STDERR

See discussion on comments 12-20

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit c056385669)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit 7013f71889)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
This commit is contained in:
Jonathan Druart 2020-11-19 11:13:34 +01:00 committed by Victor Grousset/tuxayo
parent a33d33d4cf
commit 6e432f6eee
1 changed files with 0 additions and 5 deletions

View File

@ -126,11 +126,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: $!";