Rename subgraph log level env var.

This commit is contained in:
Maria Carmina 2022-09-22 01:42:04 +03:00
parent b0bbed84be
commit 99b85033a2
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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
;;