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 commitc056385669) Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> (cherry picked from commit7013f71889) Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
This commit is contained in:
parent
a33d33d4cf
commit
6e432f6eee
|
|
@ -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: $!";
|
||||
|
|
|
|||
Loading…
Reference in New Issue