added debugging to find logfile for replay