Use the logger instead of System.out.