new helper dump_logfile