Changing from Logger to System.out.print