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

New commits:
commit b58bda96a36e889552dd8c80bbbc5db7ae167bcc
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Tue Mar 24 19:52:52 2020 +0200
Commit:     Tor Lillqvist <t...@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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Tor Lillqvist <t...@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 ')) {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to