public LogData convertToLogData(final HTTPAccessLogEntry logEntry, final Result result) {
        final ServiceMetaInfo service = result.getService();

        final HTTPServiceMeshMetric.Builder metrics =
            new LogEntry2MetricsAdapter(logEntry, null, null).adaptCommonPart();

        return LogData
            .newBuilder()
            .setService(service.getServiceName())
            .setServiceInstance(service.getServiceInstanceName())
            .setTimestamp(metrics.getEndTime())
            .setLayer(Layer.MESH.name())
            .build();
    }
{@code LogsPersistence} analyzes the error logs and persists them to the log system.
oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/envoy/persistence/LogsPersistence.java