Skip to content

Commit

Permalink
[INLONG-11455][Sort] Fixed unclear log description
Browse files Browse the repository at this point in the history
  • Loading branch information
qy-liuhuo committed Nov 11, 2024
1 parent ebad988 commit fcfae01
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit fcfae01

Please sign in to comment.