Skip to content

Commit a4bbc99

Browse files
authored
Log dependency collection errors in JBoss to debug level (DataDog#5431)
These are inocuous and confusing to users.
1 parent f26d436 commit a4bbc99

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

telemetry/src/main/java/datadog/telemetry/dependency/JbossVirtualFileHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public static URI getJbossVfsPath(URL location) {
9393
JbossVirtualFileHelper.jbossVirtualFileHelper =
9494
new JbossVirtualFileHelper(connection.getClass().getClassLoader());
9595
} catch (Exception e) {
96-
log.warn("Error preparing for inspection of jboss virtual files", e);
96+
log.debug("Error preparing for inspection of jboss virtual files", e);
9797
return null;
9898
}
9999
}
@@ -105,7 +105,7 @@ public static URI getJbossVfsPath(URL location) {
105105
if (physicalFile.isFile() && physicalFile.getName().endsWith(".jar")) {
106106
return physicalFile.toURI();
107107
} else {
108-
log.warn("Physical file {} is not a jar", physicalFile);
108+
log.debug("Physical file {} is not a jar", physicalFile);
109109
}
110110

111111
// not sure what this is about, but it's what the old code used to do

0 commit comments

Comments
 (0)