fixed permissions on logfile.
changed perms on logfile and added to gitignore.