Torque down log level on invalid classpath entries.
Found by: mmastrac
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2781 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/dev/resource/impl/ResourceOracleImpl.java b/dev/core/src/com/google/gwt/dev/resource/impl/ResourceOracleImpl.java
index 026b248..0ff36a5 100644
--- a/dev/core/src/com/google/gwt/dev/resource/impl/ResourceOracleImpl.java
+++ b/dev/core/src/com/google/gwt/dev/resource/impl/ResourceOracleImpl.java
@@ -51,7 +51,7 @@
"Resource '$0' is being shadowed by another resource higher in the classpath having the same name; this one will not be used");
static final Message1String NEW_RESOURCE_FOUND = new Message1String(
- TreeLogger.TRACE, "Found new resource: $0");
+ TreeLogger.DEBUG, "Found new resource: $0");
static final Message0 NO_RESOURCES_CHANGED = new Message0(TreeLogger.DEBUG,
"No resources changed");
@@ -125,7 +125,7 @@
} else if (f.isFile() && f.getName().endsWith(".jar")) {
return new JarFileClassPathEntry(new JarFile(f));
} else {
- logger.log(TreeLogger.WARN, "Unexpected error reading classpath; " + f
+ logger.log(TreeLogger.INFO, "Unexpected entry in classpath; " + f
+ " is neither a directory nor a jar");
return null;
}