소스 검색

Since we expect errors and they don't have any affect, but logging should happen... reduce the log level

Toni Helenius 2 년 전
부모
커밋
e4c0416199
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      jme3-templates/src/com/jme3/gde/templates/gradledesktop/options/CachedOptionsContainer.java

+ 2 - 2
jme3-templates/src/com/jme3/gde/templates/gradledesktop/options/CachedOptionsContainer.java

@@ -163,7 +163,7 @@ public class CachedOptionsContainer {
                 }
 
                 private void logMavenCheckFailure(Throwable exception) {
-                    logger.log(Level.WARNING, exception,
+                    logger.log(Level.INFO, exception,
                             () -> String.format("Failed to acquire version information for Maven artifact %s (%s:%s)", new Object[]{getLabel(), getGroupId(), getArtifactId()}));
                 }
 
@@ -257,7 +257,7 @@ public class CachedOptionsContainer {
         mavenVersionChecker.getAllVersions(groupId, artifactId).whenComplete((result, exception) -> {
 
             if (exception != null || result == null) {
-                logger.log(Level.WARNING, exception,
+                logger.log(Level.INFO, exception,
                         () -> String.format("Failed to acquire version information for Maven artifact %s:%s", new Object[]{groupId, artifactId}));
 
                 return;