Change text output to log.