summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2024-04-09 15:33:56 +0200
committerHarald Musum <musum@yahooinc.com>2024-04-09 15:33:56 +0200
commit3c9afd90ac148ab54ebd3dcdd4bb4e489cb3be6d (patch)
tree2b83144f646838ebe23dce57a10159b70e86bc2a
parent97a0c16566defc38da2ce7d34476472455d05d05 (diff)
No need for error if failing when subscriber is closing down
-rw-r--r--config/src/main/java/com/yahoo/config/subscription/ConfigSubscriber.java2
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 {