Skip to content

Commit a72282a

Browse files
#30: Reduce excessive logging in BundledFileProviderImpl
1 parent baa3217 commit a72282a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/protostuff/jetbrains/plugin/resources/BundledFileProviderImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ private PsiFile createVirtualFile(String resource, String content) {
7979
private String readClasspathResource(String name) {
8080
try {
8181
String classpath = System.getProperty("java.class.path");
82-
LOGGER.info("Reading " + name + " from classpath=" + classpath);
82+
LOGGER.debug("Reading " + name + " from classpath=" + classpath);
8383
ClassLoader classLoader = OptionReference.class.getClassLoader();
8484
if (classLoader == null) {
8585
throw new IllegalStateException("Can not obtain classloader instance");
8686
}
8787
InputStream resource = classLoader.getResourceAsStream(name);
8888
if (resource == null) {
89-
LOGGER.info("Could not find " + name);
89+
LOGGER.debug("Could not find " + name);
9090
return null;
9191
}
9292
return StreamUtil.readText(resource, StandardCharsets.UTF_8);

0 commit comments

Comments
 (0)