I'll just put this here.
I had this problem yesterday with MoF, and the log appeared. So I deleted (moved) the log file, then it did it anyway (and made a new log file) So I deleted (moved) the log and the .cfg files. It still did the same thing.
In the end, I checked the task manager for running processes. Th10.exe was actually still running, though the game wasn't open at all. Ended it and opened the game and all was good.
Just leaving this here for anyone else who has this problem.