logfile improved