Skip to content

Commit 6a56329

Browse files
committed
factory - lowered log level used in factory from info to debug for less verbose output in INFO.
This fixes #173
1 parent b9d5e2b commit 6a56329

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

restx-factory/src/main/java/restx/factory/Factory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ private <T> Optional<NamedComponent<T>> buildAndStore(Query<T> query, MachineEng
10651065
ImmutableList.<SatisfiedQuery<?>>of(SatisfiedQuery.of(query, name)), engine);
10661066
Deque<BuildingBox<?>> dependencies = buildBuildingBoxesClosure(buildingBox);
10671067

1068-
logger.info("{} - dependencies closure for {} is: {}", id, name, dependencies);
1068+
logger.debug("{} - dependencies closure for {} is: {}", id, name, dependencies);
10691069
satisfyBoms(dependencies);
10701070

10711071
return buildAndStore(buildingBox);
@@ -1211,7 +1211,7 @@ private <T> Optional<NamedComponent<T>> buildAndStore(BuildingBox<T> buildingBox
12111211
}
12121212

12131213
private <T> Optional<NamedComponent<T>> buildAndStore(Name<T> name, MachineEngine<T> engine, SatisfiedBOM satisfiedBOM) {
1214-
logger.info("{} - building {} with {} / {}", id, name, engine, satisfiedBOM);
1214+
logger.debug("{} - building {} with {} / {}", id, name, engine, satisfiedBOM);
12151215
Timer timer = metrics.timer("<BUILD> " + name.getSimpleName());
12161216
Monitor monitor = timer.time();
12171217
ComponentBox<T> box;
@@ -1238,7 +1238,7 @@ private <T> Optional<NamedComponent<T>> buildAndStore(Name<T> name, MachineEngin
12381238
monitor = metrics.timer("<CUSTOMIZE> " + name.getSimpleName()
12391239
+ " <WITH> " + customizer.getClass().getSimpleName()).time();
12401240
try {
1241-
logger.info("{} - customizing {} with {}", id, name, customizer);
1241+
logger.debug("{} - customizing {} with {}", id, name, customizer);
12421242
box = box.customize(customizer);
12431243
} finally {
12441244
monitor.stop();

0 commit comments

Comments
 (0)