Patches the issue with using print statement rather than logging into a file OOIION-1379