summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgjoranv <gjoranv@gmail.com>2023-03-09 11:45:56 +0100
committerGitHub <noreply@github.com>2023-03-09 11:45:56 +0100
commit3ba641ac2acf91d7b9762df5955f504d3eeaa27e (patch)
tree77b5fde3ee19361157cc6d8380c78200a36af634
parentd1516137b1df03740f61c29bf4e0f5be2c7ad264 (diff)
parent1a019c274a47cddb569401f15aa7c3a68544458d (diff)
Merge pull request #26379 from vespa-engine/hmusum/lower-log-level-13
Log only when there actually are bundles to uninstall
-rw-r--r--container-core/src/main/java/com/yahoo/container/core/config/ApplicationBundleLoader.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/container-core/src/main/java/com/yahoo/container/core/config/ApplicationBundleLoader.java b/container-core/src/main/java/com/yahoo/container/core/config/ApplicationBundleLoader.java
index 66604966c8a..ed9eb229074 100644
--- a/container-core/src/main/java/com/yahoo/container/core/config/ApplicationBundleLoader.java
+++ b/container-core/src/main/java/com/yahoo/container/core/config/ApplicationBundleLoader.java
@@ -96,7 +96,8 @@ public class ApplicationBundleLoader {
*/
private Set<Bundle> commitBundles() {
var bundlesToUninstall = new LinkedHashSet<>(obsoleteBundles.values());
- log.info("Bundles to be uninstalled from previous generation: " + bundlesToUninstall);
+ if (bundlesToUninstall.size() > 0)
+ log.info("Bundles to be uninstalled from previous generation: " + bundlesToUninstall);
bundlesFromNewGeneration = Map.of();
obsoleteBundles = Map.of();