Revert logfile handling cahnges