Added System.out output logging.