log.log to log.error