Add log files to gitignore
Add logging of exceptions and debug info