Skip to content

Commit

Permalink
Switch spammy log lines to trace level
Browse files Browse the repository at this point in the history
  • Loading branch information
NebelNidas committed Oct 11, 2023
1 parent 37f486f commit d73e8c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/matcher/type/ClassEnvironment.java
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ private static void addOuterClass(ClassInstance cls, String name, boolean create
outerClass = cls.getEnv().getCreateClassInstance(ClassInstance.getId(name), createUnknown);

if (outerClass == null) {
Matcher.LOGGER.error("missing outer cls: {} for {}", name, cls);
Matcher.LOGGER.trace("Missing outer cls: {} for {}", name, cls);
return;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/matcher/type/ClassFeatureExtractor.java
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ private MethodInstance resolveMethod(String owner, String name, String desc, boo
MethodInstance ret = cls.resolveMethod(name, desc, toInterface);

if (ret == null && create) {
Matcher.LOGGER.debug("Creating synthetic method {}/{}{}", owner, name, desc);
Matcher.LOGGER.trace("Creating synthetic method {}/{}{}", owner, name, desc);

ret = new MethodInstance(cls, name, desc, isStatic);
cls.addMethod(ret);
Expand Down

0 comments on commit d73e8c7

Please sign in to comment.