make sure the logs/ directory exists in the repo otherwise we panic when the program can't create a file