update log4j.properties
Fix #12, and other optimizations