More logging work. Added .log to .gitignore