aboutsummaryrefslogtreecommitdiffstats
path: root/controller-server
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2020-04-25 01:42:52 +0200
committergjoranv <gv@verizonmedia.com>2020-04-25 02:24:39 +0200
commit0ded26c5c4fddcb22bf7566f2c731533e4a7ddcb (patch)
tree68cc81403365c5a0cae05496d19e8fa22e769260 /controller-server
parentc0c9169385861c23ba640212ebb1b3beecd555d5 (diff)
Use Vespa LogLevel where appropriate.
Diffstat (limited to 'controller-server')
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java
index ab4f76b5a92..bc206011bb1 100644
--- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java
@@ -16,7 +16,7 @@ import com.yahoo.config.provision.NodeResources;
import com.yahoo.config.provision.SystemName;
import com.yahoo.config.provision.zone.RoutingMethod;
import com.yahoo.config.provision.zone.ZoneId;
-import java.util.logging.Level;
+import com.yahoo.log.LogLevel;
import com.yahoo.security.KeyAlgorithm;
import com.yahoo.security.KeyUtils;
import com.yahoo.security.SignatureAlgorithm;
@@ -216,7 +216,7 @@ public class InternalStepRunner implements StepRunner {
logger.logAll(prepareResponse.log.stream()
.map(entry -> new LogEntry(0, // Sequenced by BufferedLogStore.
Instant.ofEpochMilli(entry.time),
- LogEntry.typeOf(Level.parse(entry.level)),
+ LogEntry.typeOf(LogLevel.parse(entry.level)),
entry.message))
.collect(toList()));
if ( ! prepareResponse.configChangeActions.refeedActions.stream().allMatch(action -> action.allowed)) {