Skip to content

Commit b7c33b5

Browse files
committed
moved more logs to the right level
1 parent ebe71d9 commit b7c33b5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

framework/codemodder-base/src/main/java/io/codemodder/CodemodLoader.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public CodemodLoader(
3535
final Path defectDojoFindingsJsonFile,
3636
final Path contrastVulnerabilitiesXmlFilePath) {
3737

38-
log.info("Loading providers");
38+
log.debug("Loading providers");
3939

4040
// get all the providers ready for dependency injection & codemod instantiation
4141
final List<CodemodProvider> providers =
@@ -110,7 +110,7 @@ public CodemodLoader(
110110
wantsSarif.stream()
111111
.flatMap(toolName -> ruleSarifByTool.getOrDefault(toolName, List.of()).stream())
112112
.toList();
113-
log.info("Loading modules from provider: {}", provider.getClass().getSimpleName());
113+
log.debug("Loading modules from provider: {}", provider.getClass().getSimpleName());
114114
final Set<AbstractModule> modules =
115115
provider.getModules(
116116
repositoryDir,
@@ -130,9 +130,9 @@ public CodemodLoader(
130130
final List<CodemodIdPair> codemods = new ArrayList<>();
131131

132132
// validate and instantiate the codemods
133-
log.info("Instantiating codemods");
133+
log.debug("Instantiating codemods");
134134
final Injector injector = Guice.createInjector(allModules);
135-
log.info("Codemods instantiated");
135+
log.debug("Codemods instantiated");
136136
final Set<String> codemodIds = new HashSet<>();
137137
for (final Class<? extends CodeChanger> type : orderedCodemodTypes) {
138138
final Codemod codemodAnnotation = type.getAnnotation(Codemod.class);

plugins/codemodder-plugin-appscan/src/main/java/io/codemodder/providers/sarif/appscan/AppScanSarifLocationData.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ final class AppScanSarifLocationData {
2727

2828
Map<Path, Set<Integer>> artifactLocationIndicesMap = new HashMap<>();
2929

30-
log.info("Calculating locations in project dir");
30+
log.debug("Calculating locations in project dir");
3131
for (int i = 0; i < locations.size(); i++) {
3232
final Integer index = i;
3333
String path = locations.get(i);
@@ -43,7 +43,7 @@ final class AppScanSarifLocationData {
4343
existingRealPath.ifPresent(
4444
p -> artifactLocationIndicesMap.computeIfAbsent(p, k -> new HashSet<>()).add(index));
4545
}
46-
log.info("Done calculating locations");
46+
log.debug("Done calculating locations");
4747
this.artifactLocationIndices = Map.copyOf(artifactLocationIndicesMap);
4848
}
4949

0 commit comments

Comments
 (0)