HPCC-11202 - tracing to help debug issue

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-11202 - Added additional tracing and removed redundant code
Merge pull request #5672 from jakesmith/hpcc-11202

HPCC-11202 - tracing to help debug issue

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>