I am working on a Python project where I will have to print the logs and at the same time store the logs in a file. The problem that\'s occurring is that the logs are gettin