From fe07b91f5dbd901a10106fa273c8caeef66910b5 Mon Sep 17 00:00:00 2001
From: Wojciech Barcik <wbarcik@syncad.com>
Date: Wed, 25 Nov 2020 16:00:08 +0100
Subject: [PATCH] Suppress logging to screen by hive server

---
 .gitlab-ci.yaml           | 1 +
 scripts/ci/hive-server.sh | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yaml b/.gitlab-ci.yaml
index 53735df68..399aa239a 100644
--- a/.gitlab-ci.yaml
+++ b/.gitlab-ci.yaml
@@ -409,6 +409,7 @@ sync-e2e-benchmark:
     when: always
     paths:
       - hivemind-sync.log
+      - hivemind-server.log
       - pg-stats
       - hive-sync-runner-id.txt
       - tavern_benchmarks_report.html
diff --git a/scripts/ci/hive-server.sh b/scripts/ci/hive-server.sh
index 03ceca8a4..96ce0766e 100755
--- a/scripts/ci/hive-server.sh
+++ b/scripts/ci/hive-server.sh
@@ -65,8 +65,8 @@ start() {
       --pid-file hive_server.pid \
       --http-server-port ${RUNNER_HIVEMIND_SERVER_HTTP_PORT} \
       --steemd-url "${RUNNER_HIVED_URL}" \
-      --database-url "${DATABASE_URL}" 2>&1 \
-      | tee -ia hivemind-server.log &
+      --database-url "${DATABASE_URL}" \
+      > hivemind-server.log 2>&1 &
 
   HIVEMIND_PID=$!
 
-- 
GitLab