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

Ashod Nakashian ashod.nakashian at collabora.co.uk
Wed Nov 2 13:21:36 UTC 2016


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

New commits:
commit 254005af7477793864aa0b34826c5f72d0d50a33
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Mon Oct 31 21:23:27 2016 -0400

    loolwsd: log only abbreviated messages
    
    Change-Id: Ic5780b6d3c00445888568ee43c6f5fb453e5b0df
    Reviewed-on: https://gerrit.libreoffice.org/30491
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/loolwsd/PrisonerSession.cpp b/loolwsd/PrisonerSession.cpp
index 30b76fa..06bd90e 100644
--- a/loolwsd/PrisonerSession.cpp
+++ b/loolwsd/PrisonerSession.cpp
@@ -49,9 +49,9 @@ PrisonerSession::~PrisonerSession()
 
 bool PrisonerSession::_handleInput(const char *buffer, int length)
 {
+    Log::trace(getName() + ": handling [" + getAbbreviatedMessage(buffer, length)+ "].");
     const std::string firstLine = getFirstLine(buffer, length);
     StringTokenizer tokens(firstLine, " ", StringTokenizer::TOK_IGNORE_EMPTY | StringTokenizer::TOK_TRIM);
-    Log::trace(getName() + ": handling [" + firstLine + "].");
 
     LOOLWSD::dumpOutgoingTrace(_docBroker->getJailId(), getId(), firstLine);
 


More information about the Libreoffice-commits mailing list