From bb939c9a0e92d8e4e2aa6ddcb03a3248cdacde1e Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 16 Mar 2016 08:19:34 +0100 Subject: [PATCH] Reduced logging. --- app/assets/javascripts/app/lib/app_post/websocket.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/lib/app_post/websocket.coffee b/app/assets/javascripts/app/lib/app_post/websocket.coffee index 8795e66a4..6664a52f1 100644 --- a/app/assets/javascripts/app/lib/app_post/websocket.coffee +++ b/app/assets/javascripts/app/lib/app_post/websocket.coffee @@ -98,10 +98,10 @@ class _webSocketSingleton extends App.Controller # send ping after visibilitychange to check if connection is open again after wakeup $(document).bind('visibilitychange', => - console.log('visibilitychange') + @log 'debug', 'visibilitychange' return if document.hidden return if !@connectionEstablished - console.log('ping') + @log 'debug', 'ping' @ping() )