diff options
author | Harald Musum <musum@yahooinc.com> | 2024-04-09 17:18:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 17:18:04 +0200 |
commit | a05ff710aef35ad05ac36aaca0d578ccba16302a (patch) | |
tree | 55aa1d108f941ff0661be44fe9b5d2c1aa6fa755 | |
parent | 887cb5b3c98472ae521f2104216b15ffde5d8acb (diff) | |
parent | 3c9afd90ac148ab54ebd3dcdd4bb4e489cb3be6d (diff) |
Merge pull request #30863 from vespa-engine/hmusum/dont-log-error-when-subscriber-closed
No need for error if failing when subscriber is closing down
-rw-r--r-- | config/src/main/java/com/yahoo/config/subscription/ConfigSubscriber.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/src/main/java/com/yahoo/config/subscription/ConfigSubscriber.java b/config/src/main/java/com/yahoo/config/subscription/ConfigSubscriber.java index e7f3555166e..bbad22e52e8 100644 --- a/config/src/main/java/com/yahoo/config/subscription/ConfigSubscriber.java +++ b/config/src/main/java/com/yahoo/config/subscription/ConfigSubscriber.java @@ -444,7 +444,7 @@ public class ConfigSubscriber implements AutoCloseable { hasNewConfig = nextConfig(false); } catch (Exception e) { - log.log(SEVERE, "Exception on receiving config. Ignoring this change.", e); + log.log(isClosed() ? FINE : WARNING, "Exception on receiving config. Ignoring this change.", e); } try { |