add log4J sample