From fcfae013e332274cf188d7f1e06e5f8572f8a584 Mon Sep 17 00:00:00 2001 From: mahaotian's debian Date: Mon, 11 Nov 2024 15:06:30 +0800 Subject: [PATCH] [INLONG-11455][Sort] Fixed unclear log description --- .../org/apache/inlong/sort/base/util/OpenTelemetryLogger.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/util/OpenTelemetryLogger.java b/inlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/util/OpenTelemetryLogger.java index c6366845cf..12b1cf558a 100644 --- a/inlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/util/OpenTelemetryLogger.java +++ b/inlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/util/OpenTelemetryLogger.java @@ -182,7 +182,7 @@ public boolean install() { synchronized (OpenTelemetryLogger.class) { org.apache.logging.log4j.spi.LoggerContext loggerContextSpi = LogManager.getContext(false); if (!(loggerContextSpi instanceof LoggerContext)) { - LOG.warn("LoggerContext is not instance of LoggerContext"); + LOG.warn("LoggerContext is not instance of org.apache.logging.log4j.core.LoggerContext"); return false; } LoggerContext loggerContext = (LoggerContext) loggerContextSpi; @@ -231,7 +231,7 @@ public boolean uninstall() { } org.apache.logging.log4j.spi.LoggerContext loggerContextSpi = LogManager.getContext(false); if (!(loggerContextSpi instanceof LoggerContext)) { - LOG.warn("LoggerContext is not instance of LoggerContext"); + LOG.warn("LoggerContext is not instance of org.apache.logging.log4j.core.LoggerContext"); return false; } LoggerContext loggerContext = (LoggerContext) loggerContextSpi;