Change sys out for log.