Output going to logger instead of System.out.