Use the existing scripts in the R&D pipeline https://github.com/ONSdigital/research-and-development/blob/develop/src/utils/wrappers.py to set up on-screen logging.