[Libreoffice-commits] online.git: loolwsd/TileCache.cpp

Pranav Kant pranavk at collabora.co.uk
Fri Jul 1 15:00:39 UTC 2016


 loolwsd/TileCache.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0b8e9dedafe6470ee10fa87a31da9a546511c44b
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Fri Jul 1 20:29:19 2016 +0530

    loolwsd: Print abbreviated message while saving to TileCache
    
    Change-Id: I1f77062466e3672ce742b6a46e3c39b35ce70f31

diff --git a/loolwsd/TileCache.cpp b/loolwsd/TileCache.cpp
index 7be1960..cb492a5 100644
--- a/loolwsd/TileCache.cpp
+++ b/loolwsd/TileCache.cpp
@@ -230,7 +230,7 @@ void TileCache::saveTextFile(const std::string& text, const std::string& fileNam
     }
     else
     {
-        Log::info("Saving '" + text + "' to " + fullFileName);
+        Log::info("Saving '" + LOOLProtocol::getAbbreviatedMessage(text.c_str(), text.size()) + "' to " + fullFileName);
     }
 
     textStream << text << std::endl;


More information about the Libreoffice-commits mailing list