update .gitignore and move logs to subdirectory