better logging; gitignore