summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgjoranv <gv@yahoo-inc.com>2017-04-25 15:00:15 +0200
committergjoranv <gv@yahoo-inc.com>2017-04-25 15:02:56 +0200
commit816c050f245cfc7798814ff18d1e293ab3e889e5 (patch)
tree6292ec331053565f698af32a5286e1629f0d3524
parent20ff7472415dacce973414c99ee5face4f0d69fe (diff)
Log as info instead of debug.
-rw-r--r--container-disc/src/main/java/com/yahoo/container/jdisc/component/Deconstructor.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/container-disc/src/main/java/com/yahoo/container/jdisc/component/Deconstructor.java b/container-disc/src/main/java/com/yahoo/container/jdisc/component/Deconstructor.java
index f5061c416c8..6a2e33db309 100644
--- a/container-disc/src/main/java/com/yahoo/container/jdisc/component/Deconstructor.java
+++ b/container-disc/src/main/java/com/yahoo/container/jdisc/component/Deconstructor.java
@@ -12,8 +12,6 @@ import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import java.util.logging.Logger;
-import static com.yahoo.log.LogLevel.DEBUG;
-
/**
* @author tonyv
* @author gv
@@ -36,7 +34,7 @@ public class Deconstructor implements ComponentDeconstructor {
if (component instanceof AbstractComponent) {
AbstractComponent abstractComponent = (AbstractComponent) component;
if (abstractComponent.isDeconstructable()) {
- log.log(DEBUG, () -> "Scheduling deconstruction of " + abstractComponent);
+ log.info("Scheduling deconstruction of " + abstractComponent);
executor.schedule(new DestructComponentTask(abstractComponent), delay, TimeUnit.SECONDS);
}
} else if (component instanceof Provider) {
@@ -55,9 +53,9 @@ public class Deconstructor implements ComponentDeconstructor {
}
public void run() {
- log.log(DEBUG, () -> "Starting deconstruction of " + component);
+ log.info("Starting deconstruction of " + component);
component.deconstruct();
- log.log(DEBUG, () -> "Finished deconstructing " + component);
+ log.info("Finished deconstructing " + component);
}
}
}