Fixed log file path and added to gitignore.