Added logging initialization, updated .gitignore