summaryrefslogtreecommitdiffstats
path: root/orchestrator
diff options
context:
space:
mode:
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);
}
}