Changes logfile to Hook.log