Changed Loggin to Log4j 2, fixed implementation