aboutsummaryrefslogtreecommitdiffstats
path: root/orchestrator
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2020-04-24 15:37:33 +0200
committergjoranv <gv@verizonmedia.com>2020-04-25 02:22:55 +0200
commit816e0e5dcd0987e8be4e3ea66402c83b770dd467 (patch)
tree8d9d57215e9546ec001e40827dfdb57fcb652596 /orchestrator
parent7786b391540a5632a17536e4b43ef635553db21a (diff)
LogLevel.INFO -> Level.INFO
Diffstat (limited to 'orchestrator')
-rw-r--r--orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/ApplicationSuspensionResource.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/ApplicationSuspensionResource.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/ApplicationSuspensionResource.java
index 0b439b81ef6..6a118f9d606 100644
--- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/ApplicationSuspensionResource.java
+++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/ApplicationSuspensionResource.java
@@ -83,13 +83,13 @@ public class ApplicationSuspensionResource implements ApplicationSuspensionApi {
try {
orchestrator.suspend(applicationId);
} catch (ApplicationIdNotFoundException e) {
- log.log(LogLevel.INFO, "ApplicationId " + applicationIdString + " not found.", e);
+ log.log(Level.INFO, "ApplicationId " + applicationIdString + " not found.", e);
throw new NotFoundException(e);
} catch (ApplicationStateChangeDeniedException e) {
- log.log(LogLevel.INFO, "Suspend for " + applicationIdString + " failed.", e);
+ log.log(Level.INFO, "Suspend for " + applicationIdString + " failed.", e);
throw new WebApplicationException(Response.Status.CONFLICT);
} catch (RuntimeException e) {
- log.log(LogLevel.INFO, "Suspend for " + applicationIdString + " failed from unknown reasons", e);
+ log.log(Level.INFO, "Suspend for " + applicationIdString + " failed from unknown reasons", e);
throw new InternalServerErrorException(e);
}
}
@@ -100,13 +100,13 @@ public class ApplicationSuspensionResource implements ApplicationSuspensionApi {
try {
orchestrator.resume(applicationId);
} catch (ApplicationIdNotFoundException e) {
- log.log(LogLevel.INFO, "ApplicationId " + applicationIdString + " not found.", e);
+ log.log(Level.INFO, "ApplicationId " + applicationIdString + " not found.", e);
throw new NotFoundException(e);
} catch (ApplicationStateChangeDeniedException e) {
- log.log(LogLevel.INFO, "Suspend for " + applicationIdString + " failed.", e);
+ log.log(Level.INFO, "Suspend for " + applicationIdString + " failed.", e);
throw new WebApplicationException(Response.Status.CONFLICT);
} catch (RuntimeException e) {
- log.log(LogLevel.INFO, "Suspend for " + applicationIdString + " failed from unknown reasons", e);
+ log.log(Level.INFO, "Suspend for " + applicationIdString + " failed from unknown reasons", e);
throw new InternalServerErrorException(e);
}
}