Fix logfile
Merge branch 'master' into peercoin