Use logger instead of System.out.println