Fix log files. Fixes #2