Basic steps to configure Log4j using xml and properties file