From db04b94cb72b730e437a6ed8968e09adfb0c68e1 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Sat, 3 Feb 2018 10:02:12 +0100 Subject: Reduce loglevel to debug. --- .../com/yahoo/documentapi/messagebus/protocol/DocumentProtocol.java | 2 +- vespaclient-core/src/main/java/com/yahoo/feedapi/SharedSender.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/DocumentProtocol.java b/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/DocumentProtocol.java index 57e7070296f..7e788b6236d 100755 --- a/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/DocumentProtocol.java +++ b/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/DocumentProtocol.java @@ -207,7 +207,7 @@ public class DocumentProtocol implements Protocol { * NORMAL categories. Traffic in the HIGH end will be usually be prioritized over important maintenance operations. * Traffic in the LOW end will be prioritized after these operations.

*/ - public static enum Priority { + public enum Priority { HIGHEST(0), VERY_HIGH(1), HIGH_1(2), diff --git a/vespaclient-core/src/main/java/com/yahoo/feedapi/SharedSender.java b/vespaclient-core/src/main/java/com/yahoo/feedapi/SharedSender.java index 0380fa2a7c4..72e7464a1de 100755 --- a/vespaclient-core/src/main/java/com/yahoo/feedapi/SharedSender.java +++ b/vespaclient-core/src/main/java/com/yahoo/feedapi/SharedSender.java @@ -157,14 +157,14 @@ public class SharedSender implements ReplyHandler { log.log(LogLevel.SPAM, "Received reply for file " + owner.toString() + " count was " + owner.getPending().val()); } if (owner.isAborted()) { - log.log(LogLevel.WARNING, "Received reply for file " + owner.toString() + " which is aborted"); + log.log(LogLevel.DEBUG, "Received reply for file " + owner.toString() + " which is aborted"); owner.getPending().clear(); return; } if (owner.handleReply(r)) { owner.getPending().dec(); } else { - log.log(LogLevel.WARNING, "Received reply for file " + owner.toString() + " which wants to abort"); + log.log(LogLevel.DEBUG, "Received reply for file " + owner.toString() + " which wants to abort"); owner.getPending().clear(); } } else { -- cgit v1.2.3