add log4j to replace system.out