SP-185 - Patch request for PDI-9790 -Job finishes successfully even though the logging process falls over (4.8)

PDI-9790 Job finishes successfully even though the logging process falls
over

fix provided