From ad21fe178cfd2365aaccee338f109cc849da72e0 Mon Sep 17 00:00:00 2001
From: Stephan Porada <sporada@uni-bielefeld.de>
Date: Wed, 16 Sep 2020 14:50:00 +0200
Subject: [PATCH] Deactivate client logging

---
 web/app/templates/corpora/analyse_corpus.html.j2 | 2 +-
 web/app/templates/query_results/inspect.html.j2  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/app/templates/corpora/analyse_corpus.html.j2 b/web/app/templates/corpora/analyse_corpus.html.j2
index 05b4ea7c..7f452930 100644
--- a/web/app/templates/corpora/analyse_corpus.html.j2
+++ b/web/app/templates/corpora/analyse_corpus.html.j2
@@ -133,7 +133,7 @@ document.addEventListener("DOMContentLoaded", () => {
   let corpusId = {{ corpus_id }}
   const client = new Client({'corpusId': corpusId,
                              'socket': nopaque.socket,
-                             'logging': true,
+                             'logging': false,
                              'dynamicMode': true});
   /**
    * Initializing the results object as a model holding all the data of a
diff --git a/web/app/templates/query_results/inspect.html.j2 b/web/app/templates/query_results/inspect.html.j2
index 646b2865..25a74683 100644
--- a/web/app/templates/query_results/inspect.html.j2
+++ b/web/app/templates/query_results/inspect.html.j2
@@ -122,7 +122,7 @@ document.addEventListener("DOMContentLoaded", () => {
   // Import metadata from DB passed to this view
   const metaDataJson = {{ query_metadata|tojson|safe }};
   // Initialize the client with dynamicMode set to false.
-  const client = new Client({'logging': true,
+  const client = new Client({'logging': false,
                              'dynamicMode': false,
                              'fullContext': metaDataJson.fullContext});
     /**
-- 
GitLab