Changed println to Logger to keep Sonar happy.