Added App event listener to set values and configure Log4j