summaryrefslogtreecommitdiffstats
path: root/documentapi
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@vespa.ai>2024-02-23 15:15:33 +0000
committerTor Brede Vekterli <vekterli@vespa.ai>2024-02-23 15:24:34 +0000
commit49fd5ec983ce8c43409a1892a8ca8708d379ca43 (patch)
tree5e061cba564dc842570261dbdec48085d781888f /documentapi
parent1e71bc2d7153e5b62c081cb919e36a8a704a0fdc (diff)
Don't do a hex dump of messages into the log upon protocol deserialization failures
... It's a tad excessive.
Diffstat (limited to 'documentapi')
-rw-r--r--documentapi/src/vespa/documentapi/messagebus/routablerepository.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/documentapi/src/vespa/documentapi/messagebus/routablerepository.cpp b/documentapi/src/vespa/documentapi/messagebus/routablerepository.cpp
index 3e1ae07f7ca..7a03afbaf48 100644
--- a/documentapi/src/vespa/documentapi/messagebus/routablerepository.cpp
+++ b/documentapi/src/vespa/documentapi/messagebus/routablerepository.cpp
@@ -72,10 +72,6 @@ RoutableRepository::decode(const vespalib::Version &version, mbus::BlobRef data)
if (!ret) {
LOG(error, "Routable factory failed to deserialize routable of type %d (version %s).",
type, version.toString().c_str());
-
- std::ostringstream ost;
- document::StringUtil::printAsHex(ost, data.data(), data.size());
- LOG(error, "%s", ost.str().c_str());
return {};
}
return ret;