Fix .gitignore, add log4j.properties