Fix the logfile location, remove the debug statement