summaryrefslogtreecommitdiffstats
path: root/vespaclient-container-plugin
diff options
context:
space:
mode:
authorYngve Aasheim <yngveaasheim@users.noreply.github.com>2019-06-06 11:58:33 +0200
committerGitHub <noreply@github.com>2019-06-06 11:58:33 +0200
commit7743cc1ce9043235dc2ad6460b2fb294f48943c5 (patch)
tree1b9cd08214765fa9dc9731d340ac7edc6fb137e3 /vespaclient-container-plugin
parent6bea133920e4d4af41518f3a3faa9eee9070a169 (diff)
Warn on feeding parse errors, but no stack trace
Diffstat (limited to 'vespaclient-container-plugin')
-rw-r--r--vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/ClientFeederV3.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/ClientFeederV3.java b/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/ClientFeederV3.java
index c3e42a585e5..9d816b90c9d 100644
--- a/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/ClientFeederV3.java
+++ b/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/ClientFeederV3.java
@@ -184,8 +184,8 @@ class ClientFeederV3 {
try {
message = getNextMessage(operationId.get(), requestInputStream, settings);
} catch (Exception e) {
- if (log.isLoggable(LogLevel.DEBUG)) {
- log.log(LogLevel.DEBUG, Exceptions.toMessageString(e), e);
+ if (log.isLoggable(LogLevel.WARNING)) {
+ log.log(LogLevel.WARNING, e.toString());
}
metric.add(MetricNames.PARSE_ERROR, 1, null);