[Libreoffice-commits] online.git: loleaflet/src

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Wed Mar 25 11:13:06 UTC 2020


 loleaflet/src/core/Socket.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b58bda96a36e889552dd8c80bbbc5db7ae167bcc
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Mar 24 19:52:52 2020 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Wed Mar 25 12:12:48 2020 +0100

    Comment out verbose socket traffic logging
    
    This logging just made it harder to see any temporary logging you add
    while debugging a problem. When you need the socket traffix logging,
    it is trivial to un-comment these two logging calls again.
    
    Change-Id: Ia8fde2c7b841f6b112784cb1c2618a35fddc0f8e
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91003
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index 68ba19a8c..d744f4b46 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -153,7 +153,7 @@ L.Socket = L.Class.extend({
 		// Only attempt to log text frames, not binary ones.
 		if (typeof msg === 'string') {
 			L.Log.log(msg, 'OUTGOING', coords);
-			this._logSocket('OUTGOING', msg);
+			// this._logSocket('OUTGOING', msg);
 		}
 
 		this.socket.send(msg);
@@ -268,7 +268,7 @@ L.Socket = L.Class.extend({
 			textMsg = String.fromCharCode.apply(null, imgBytes.subarray(0, index));
 		}
 
-		this._logSocket('INCOMING', textMsg);
+		// this._logSocket('INCOMING', textMsg);
 
 		var command = this.parseServerCmd(textMsg);
 		if (textMsg.startsWith('loolserver ')) {


More information about the Libreoffice-commits mailing list