Fixed a typo causing a syntax error.
Changed so that the log file location is set explicitly.