aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2020-08-24 11:13:33 +0200
committerJon Marius Venstad <venstad@gmail.com>2020-08-24 11:13:33 +0200
commit0f88ea6507e201c4d5f85b300759386098ca9e4c (patch)
treeafffc1d4b38f3dc26b2b0571253941ed23d58b8c /controller-api
parentd0dc1411dcc1b3aac5504d7101633c4af1995cc4 (diff)
Event entries have the highest int value
Diffstat (limited to 'controller-api')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/LogEntry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/LogEntry.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/LogEntry.java
index 02c6972b543..53ac0e42cb7 100644
--- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/LogEntry.java
+++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/LogEntry.java
@@ -104,7 +104,7 @@ public class LogEntry {
}
public static Type typeOf(Level level) {
- return level.intValue() < Level.INFO.intValue() ? Type.debug
+ return level.intValue() < Level.INFO.intValue() || level.intValue() == LogLevel.IntValEVENT ? Type.debug
: level.intValue() < Level.WARNING.intValue() ? Type.info
: level.intValue() < Level.SEVERE.intValue() ? Type.warning
: Type.error;