From 1556751d0d452e6043ebdd912e8fb98b1b377707 Mon Sep 17 00:00:00 2001 From: NebelNidas Date: Wed, 12 Apr 2023 17:17:25 +0200 Subject: [PATCH] Switch spammy log lines to `trace` level --- src/main/java/matcher/type/ClassEnvironment.java | 2 +- src/main/java/matcher/type/ClassFeatureExtractor.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/matcher/type/ClassEnvironment.java b/src/main/java/matcher/type/ClassEnvironment.java index 63b170bc..b8b81983 100644 --- a/src/main/java/matcher/type/ClassEnvironment.java +++ b/src/main/java/matcher/type/ClassEnvironment.java @@ -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; } } diff --git a/src/main/java/matcher/type/ClassFeatureExtractor.java b/src/main/java/matcher/type/ClassFeatureExtractor.java index 06459278..681acab2 100644 --- a/src/main/java/matcher/type/ClassFeatureExtractor.java +++ b/src/main/java/matcher/type/ClassFeatureExtractor.java @@ -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);