Wait for log.