Setting up of logger using log4j2