CG-2786: Ensure all output is redirected to the log