Logfile maintenance improvements