summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@vespa.ai>2024-02-23 17:01:41 +0100
committerGitHub <noreply@github.com>2024-02-23 17:01:41 +0100
commit41df29aebc717cc63497488302054b40ff755fb0 (patch)
tree996dad2ba986620574136b777eed0a6e0664cbed
parentfadab1c4c0e3caa88261c525295eec6dd910dbe3 (diff)
parent49fd5ec983ce8c43409a1892a8ca8708d379ca43 (diff)
Merge pull request #30398 from vespa-engine/vekterli/no-hexdump-on-decode-failure
Don't do a hex dump of messages into the log upon protocol deserialization failures
-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;