add javadoc, add thread to log4j.properties