Skip to content
Permalink
Browse files

factory - lowered log level used in factory from info to debug for le…

…ss verbose output in INFO.

This fixes #173
  • Loading branch information...
fcamblor committed Aug 24, 2017
1 parent b9d5e2b commit 6a5632944963f831803c66ee51bbea9f59137532
Showing with 3 additions and 3 deletions.
  1. +3 −3 restx-factory/src/main/java/restx/factory/Factory.java
@@ -1065,7 +1065,7 @@ private void dumpBuidableComponents(StringBuilder sb) {
ImmutableList.<SatisfiedQuery<?>>of(SatisfiedQuery.of(query, name)), engine);
Deque<BuildingBox<?>> dependencies = buildBuildingBoxesClosure(buildingBox);

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

return buildAndStore(buildingBox);
@@ -1211,7 +1211,7 @@ private void satisfyBoms(Deque<BuildingBox<?>> dependencies) {
}

private <T> Optional<NamedComponent<T>> buildAndStore(Name<T> name, MachineEngine<T> engine, SatisfiedBOM satisfiedBOM) {
logger.info("{} - building {} with {} / {}", id, name, engine, satisfiedBOM);
logger.debug("{} - building {} with {} / {}", id, name, engine, satisfiedBOM);
Timer timer = metrics.timer("<BUILD> " + name.getSimpleName());
Monitor monitor = timer.time();
ComponentBox<T> box;
@@ -1238,7 +1238,7 @@ private void satisfyBoms(Deque<BuildingBox<?>> dependencies) {
monitor = metrics.timer("<CUSTOMIZE> " + name.getSimpleName()
+ " <WITH> " + customizer.getClass().getSimpleName()).time();
try {
logger.info("{} - customizing {} with {}", id, name, customizer);
logger.debug("{} - customizing {} with {}", id, name, customizer);
box = box.customize(customizer);
} finally {
monitor.stop();

0 comments on commit 6a56329

Please sign in to comment.
You can’t perform that action at this time.