tweak to logfile