diff options
author | Bjørn Christian Seime <bjorncs@vespa.ai> | 2024-03-26 09:13:46 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@vespa.ai> | 2024-03-26 09:13:46 +0100 |
commit | 45e1713be2bb101363792ce92cc60ea4c6f7ece7 (patch) | |
tree | 645fcd3c47560706842882d9438597b1cd13a72d /vespaclient-container-plugin/src | |
parent | 95eda442ea51c2d4576421275c6aa5ab35eb4d65 (diff) |
Don't spam log when connection is abruptly closed
It's a somewhat common scenario (e.g strict/excessive client timeout or bad network) and the client will detect this anyway.
Diffstat (limited to 'vespaclient-container-plugin/src')
-rw-r--r-- | vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java b/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java index 5ff7b4592a1..f8dc1844c15 100644 --- a/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java +++ b/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java @@ -843,7 +843,8 @@ public class DocumentV1ApiHandler extends AbstractRequestHandler { ackDocuments(); } @Override public void failed(Throwable t) { - log.log(WARNING, "Error writing documents", t); + // This is typically caused by the client closing the connection during production of the response content. + log.log(FINE, "Error writing documents", t); completed(); } }); |