sample for using log4j