Clean the code, use logger instead of System.out.println.