Fixed logging to a file since it didn't work anymore.
Merge pull request #178 from Ecno92/master

Fixed logging to a file since it didn't work anymore.