Patched the issue with using print statement rather than logging to a file OOIION-1379

@jamie-cyber1 Please review and merge