Fixing syntax errors.
Incorrect log path.