Reduce logging
[lgpl/argeo-commons.git] / org.argeo.init / src / org / argeo / init / osgi / OsgiBoot.java
index c26fad66817c3b654f1ea0e965d9025e556f0c2d..81efa33e33c8478eafbeeab09abde4ebd471f74e 100644 (file)
@@ -401,7 +401,8 @@ public class OsgiBoot implements OsgiBootConstants {
 
                // Start the framework level after level
                stages: for (int stage = initialStartLevel; stage <= activeStartLevel; stage++) {
-                       OsgiBootUtils.info("Starting stage " + stage + "...");
+                       if (OsgiBootUtils.isDebug())
+                               OsgiBootUtils.debug("Starting stage " + stage + "...");
                        final int nextStage = stage;
                        final CompletableFuture<FrameworkEvent> stageCompleted = new CompletableFuture<>();
                        ForkJoinPool.commonPool().execute(() -> {