improved logfile