summaryrefslogtreecommitdiffstats
path: root/orchestrator
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2020-04-24 15:47:56 +0200
committergjoranv <gv@verizonmedia.com>2020-04-25 02:24:37 +0200
commit545c7069fbf76932542f80a25aab44fdc972925a (patch)
treedd6aac41e9568cc68ba1f46c0c38609f0f7604bb /orchestrator
parentee9e892838733da49d5ea2b74e456751c05c3f18 (diff)
LogLevel.ERROR -> Level.SEVERE
Diffstat (limited to 'orchestrator')
-rw-r--r--orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorContext.java2
-rw-r--r--orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ZkStatusService.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorContext.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorContext.java
index 1c5ae323d04..fbb25baa806 100644
--- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorContext.java
+++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorContext.java
@@ -153,7 +153,7 @@ public class OrchestratorContext implements AutoCloseable {
try {
unlock.run();
} catch (RuntimeException e) {
- logger.log(LogLevel.ERROR, "Failed run on close : " + e.getMessage());
+ logger.log(Level.SEVERE, "Failed run on close : " + e.getMessage());
}
});
}
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ZkStatusService.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ZkStatusService.java
index a851781660a..32fdaa9433d 100644
--- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ZkStatusService.java
+++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ZkStatusService.java
@@ -277,7 +277,7 @@ public class ZkStatusService implements StatusService {
try {
lock = lockApplication(context, reference);
} catch (RuntimeException e) {
- log.log(LogLevel.ERROR, "Failed to get Orchestrator lock on when " + reference +
+ log.log(Level.SEVERE, "Failed to get Orchestrator lock on when " + reference +
eventDescription + ": " + e.getMessage());
return;
}
@@ -285,7 +285,7 @@ public class ZkStatusService implements StatusService {
try (lock) {
runnable.run();
} catch (RuntimeException e) {
- log.log(LogLevel.ERROR, "Failed to clean up after " + reference + eventDescription +
+ log.log(Level.SEVERE, "Failed to clean up after " + reference + eventDescription +
": " + e.getMessage());
}
}