diff options
author | Harald Musum <musum@yahooinc.com> | 2023-03-06 11:02:21 +0100 |
---|---|---|
committer | Harald Musum <musum@yahooinc.com> | 2023-03-06 11:02:21 +0100 |
commit | f0c2167aa461c86d998f1d66867e2953a0e55bda (patch) | |
tree | 356f8e543d2ba5b3fc24f176a02d39948f88c601 /container-core | |
parent | 127180ac14857bce984609728c2c858da623d3b8 (diff) |
Log at lower level
Diffstat (limited to 'container-core')
-rw-r--r-- | container-core/src/main/java/com/yahoo/container/core/config/PlatformBundleLoader.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/container-core/src/main/java/com/yahoo/container/core/config/PlatformBundleLoader.java b/container-core/src/main/java/com/yahoo/container/core/config/PlatformBundleLoader.java index 6ed0a876f4e..a84436083ff 100644 --- a/container-core/src/main/java/com/yahoo/container/core/config/PlatformBundleLoader.java +++ b/container-core/src/main/java/com/yahoo/container/core/config/PlatformBundleLoader.java @@ -7,6 +7,7 @@ import org.osgi.framework.Bundle; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; +import java.util.logging.Level; import java.util.logging.Logger; /** @@ -41,7 +42,7 @@ public class PlatformBundleLoader { public void useBundles(List<String> bundlePaths) { if (hasLoadedBundles) { - log.fine(() -> "Platform bundles have already been installed." + + log.log(Level.FINE, () -> "Platform bundles have already been installed." + "\nInstalled bundles: " + installedBundles + "\nGiven files: " + bundlePaths); return; @@ -65,9 +66,9 @@ public class PlatformBundleLoader { } private List<Bundle> installBundleFromDisk(String bundlePath) { - log.info("Installing bundle from disk: " + bundlePath); + log.log(Level.FINE, "Installing bundle from disk: " + bundlePath); List<Bundle> bundles = installer.installBundles(bundlePath, osgi); - log.fine("Installed " + bundles.size() + " bundles for file " + bundlePath); + log.log(Level.FINE, "Installed " + bundles.size() + " bundles for file " + bundlePath); return bundles; } |