From: Mathieu Date: Fri, 4 Nov 2022 07:03:42 +0000 (+0100) Subject: Reduce logging X-Git-Tag: v2.3.11~30 X-Git-Url: https://git.argeo.org/?p=lgpl%2Fargeo-commons.git;a=commitdiff_plain;h=a46d57701e2fd1fbccbad801fab07331bc0b8502 Reduce logging --- diff --git a/org.argeo.init/src/org/argeo/init/osgi/OsgiBoot.java b/org.argeo.init/src/org/argeo/init/osgi/OsgiBoot.java index c26fad668..81efa33e3 100644 --- a/org.argeo.init/src/org/argeo/init/osgi/OsgiBoot.java +++ b/org.argeo.init/src/org/argeo/init/osgi/OsgiBoot.java @@ -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 stageCompleted = new CompletableFuture<>(); ForkJoinPool.commonPool().execute(() -> {