How to implement log4j in java application example –