use slf4j for logging

- replace System.out.println by logger.debug
- replace System.out.println by logger.warn

with logger = LoggerFactory.getLogger(Xxxx.class)