From 99b85033a2118d7109017339883ab205622d294b Mon Sep 17 00:00:00 2001 From: Maria Carmina Date: Thu, 22 Sep 2022 01:42:04 +0300 Subject: [PATCH] Rename subgraph log level env var. --- compose-files/thegraph.yml | 2 +- start_ocean.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compose-files/thegraph.yml b/compose-files/thegraph.yml index d0428c2..1bf5d4b 100644 --- a/compose-files/thegraph.yml +++ b/compose-files/thegraph.yml @@ -22,7 +22,7 @@ services: postgres_db: graph-node ipfs: '172.15.0.16:5001' ethereum: 'development:${NETWORK_RPC_URL}' - RUST_LOG: ${RUST_LOG} + SUBGRAPH_LOG_LEVEL: ${SUBGRAPH_LOG_LEVEL} postgres: image: postgres ports: diff --git a/start_ocean.sh b/start_ocean.sh index 1284caf..7739bf9 100755 --- a/start_ocean.sh +++ b/start_ocean.sh @@ -234,7 +234,7 @@ while :; do printf $COLOR_Y'Starting without IPFS...\n\n'$COLOR_RESET ;; --with-thegraph) - export RUST_LOG=${RUST_LOG:-INFO} + export SUBGRAPH_LOG_LEVEL=${SUBGRAPH_LOG_LEVEL:-INFO} COMPOSE_FILES+=" -f ${COMPOSE_DIR}/thegraph.yml" printf $COLOR_Y'Starting with TheGraph...\n\n'$COLOR_RESET ;;