Logfile fixes.