Fix two errors in log.