Add gitignore.
Clean up logging.