summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2023-03-06 11:01:33 +0100
committerHarald Musum <musum@yahooinc.com>2023-03-06 11:01:33 +0100
commit8b674387b69946784a93f61a62949e71c8cfd058 (patch)
tree7d012a7d17780479589239b70575195fc566546a /config
parente22467e6500b212a611827659d79b680f1b7f805 (diff)
Log at level INFO when application is not loaded
Diffstat (limited to 'config')
-rw-r--r--config/src/main/java/com/yahoo/config/subscription/impl/JRTConfigRequester.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/src/main/java/com/yahoo/config/subscription/impl/JRTConfigRequester.java b/config/src/main/java/com/yahoo/config/subscription/impl/JRTConfigRequester.java
index b4a2a29102b..4b72d8962bc 100644
--- a/config/src/main/java/com/yahoo/config/subscription/impl/JRTConfigRequester.java
+++ b/config/src/main/java/com/yahoo/config/subscription/impl/JRTConfigRequester.java
@@ -26,6 +26,7 @@ import java.util.logging.Logger;
import static com.yahoo.jrt.ErrorCode.CONNECTION;
import static java.util.logging.Level.FINE;
import static java.util.logging.Level.FINEST;
+import static java.util.logging.Level.INFO;
import static java.util.logging.Level.SEVERE;
import static java.util.logging.Level.WARNING;
@@ -149,6 +150,9 @@ public class JRTConfigRequester implements RequestWaiter {
if (jrtReq.errorCode() == CONNECTION) {
log.log(FINE, () -> "Request failed: " + jrtReq.errorMessage() +
"\nConnection spec: " + connection);
+ } else if (jrtReq.errorCode() == ErrorCode.APPLICATION_NOT_LOADED) {
+ log.log(INFO, () -> "Request failed: " + jrtReq.errorMessage() +
+ "\nConnection spec: " + connection);
} else if (timeForLastLogWarning.isBefore(Instant.now().minus(delayBetweenWarnings))) {
log.log(WARNING, "Request failed: " + ErrorCode.getName(jrtReq.errorCode()) +
". Connection spec: " + connection.getAddress() +