Added log4j, fixed critical SonarQube warnings