diff options
author | Håkon Hallingstad <hakon@verizonmedia.com> | 2020-03-16 12:45:17 +0100 |
---|---|---|
committer | Håkon Hallingstad <hakon@verizonmedia.com> | 2020-03-16 12:45:17 +0100 |
commit | dc316062c8e544bcb4eefea760e962252d5be7f1 (patch) | |
tree | 6a592954d9fb0b898fc699d0e5715934772f39e0 /orchestrator | |
parent | 19543e63025bd04caf2aecce1089c5f245a383e1 (diff) |
Silence orchestrator
Diffstat (limited to 'orchestrator')
-rw-r--r-- | orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/HostResource.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/HostResource.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/HostResource.java index c93bb9e1d4a..054d3320215 100644 --- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/HostResource.java +++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/HostResource.java @@ -78,10 +78,10 @@ public class HostResource implements HostApi { applicationUri.toString(), hostServices); } catch (UncheckedTimeoutException e) { - log.log(LogLevel.INFO, "Failed to get host " + hostName + ": " + e.getMessage()); + log.log(LogLevel.DEBUG, "Failed to get host " + hostName + ": " + e.getMessage()); throw webExceptionFromTimeout("getHost", hostName, e); } catch (HostNameNotFoundException e) { - log.log(LogLevel.INFO, "Host not found: " + hostName); + log.log(LogLevel.DEBUG, "Host not found: " + hostName); throw new NotFoundException(e); } } @@ -101,14 +101,14 @@ public class HostResource implements HostApi { try { orchestrator.setNodeStatus(hostName, state); } catch (HostNameNotFoundException e) { - log.log(LogLevel.INFO, "Host not found: " + hostName); + log.log(LogLevel.DEBUG, "Host not found: " + hostName); throw new NotFoundException(e); } catch (UncheckedTimeoutException e) { - log.log(LogLevel.INFO, "Failed to patch " + hostName + ": " + e.getMessage()); + log.log(LogLevel.DEBUG, "Failed to patch " + hostName + ": " + e.getMessage()); throw webExceptionFromTimeout("patch", hostName, e); } catch (OrchestrationException e) { String message = "Failed to set " + hostName + " to " + state + ": " + e.getMessage(); - log.log(LogLevel.INFO, message, e); + log.log(LogLevel.DEBUG, message, e); throw new InternalServerErrorException(message); } } @@ -124,13 +124,13 @@ public class HostResource implements HostApi { try { orchestrator.suspend(hostName); } catch (HostNameNotFoundException e) { - log.log(LogLevel.INFO, "Host not found: " + hostName); + log.log(LogLevel.DEBUG, "Host not found: " + hostName); throw new NotFoundException(e); } catch (UncheckedTimeoutException e) { - log.log(LogLevel.INFO, "Failed to suspend " + hostName + ": " + e.getMessage()); + log.log(LogLevel.DEBUG, "Failed to suspend " + hostName + ": " + e.getMessage()); throw webExceptionFromTimeout("suspend", hostName, e); } catch (HostStateChangeDeniedException e) { - log.log(LogLevel.INFO, "Failed to suspend " + hostName + ": " + e.getMessage()); + log.log(LogLevel.DEBUG, "Failed to suspend " + hostName + ": " + e.getMessage()); throw webExceptionWithDenialReason("suspend", hostName, e); } return new UpdateHostResponse(hostName.s(), null); @@ -142,13 +142,13 @@ public class HostResource implements HostApi { try { orchestrator.resume(hostName); } catch (HostNameNotFoundException e) { - log.log(LogLevel.INFO, "Host not found: " + hostName); + log.log(LogLevel.DEBUG, "Host not found: " + hostName); throw new NotFoundException(e); } catch (UncheckedTimeoutException e) { - log.log(LogLevel.INFO, "Failed to resume " + hostName + ": " + e.getMessage()); + log.log(LogLevel.DEBUG, "Failed to resume " + hostName + ": " + e.getMessage()); throw webExceptionFromTimeout("resume", hostName, e); } catch (HostStateChangeDeniedException e) { - log.log(LogLevel.INFO, "Failed to resume " + hostName + ": " + e.getMessage()); + log.log(LogLevel.DEBUG, "Failed to resume " + hostName + ": " + e.getMessage()); throw webExceptionWithDenialReason("resume", hostName, e); } return new UpdateHostResponse(hostName.s(), null); |