Use logger instead of System.out