From d18379adceec03d2ae44fc69cc9266b5fb1f875b Mon Sep 17 00:00:00 2001 From: Pranav Kant Date: Sat, 9 Jul 2016 23:59:25 +0530 Subject: [PATCH] loolwsd: Show only abbreviated message when reading from cache Change-Id: I6d5c8984010e2917b9069df6ee3b0a28c678b297 --- loolwsd/TileCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loolwsd/TileCache.cpp b/loolwsd/TileCache.cpp index cb492a50a..6622fea29 100644 --- a/loolwsd/TileCache.cpp +++ b/loolwsd/TileCache.cpp @@ -213,7 +213,7 @@ std::string TileCache::getTextFile(const std::string& fileName) buffer.pop_back(); std::string result = std::string(buffer.data(), buffer.size()); - Log::info("Read '" + result + "' from " + fullFileName); + Log::info("Read '" + LOOLProtocol::getAbbreviatedMessage(result.c_str(), result.size()) + "' from " + fullFileName); return result; }