Added INFO logging for subgraph.

This commit is contained in:
Maria Carmina 2022-09-20 23:29:15 +03:00
parent d4f436b013
commit b0bbed84be
2 changed files with 3 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: info
RUST_LOG: ${RUST_LOG}
postgres:
image: postgres
ports:

View File

@ -80,6 +80,7 @@ cp -r ./certs/* ${OCEAN_CERTS_FOLDER}
export CONTRACTS_NETWORK_NAME="development"
# Default Aquarius parameters: use Elasticsearch
export AQUARIUS_LOG_LEVEL=${AQUARIUS_LOG_LEVEL:-INFO}
export DB_MODULE="elasticsearch"
export DB_HOSTNAME="172.15.0.6"
export DB_PORT="9200"
@ -96,7 +97,6 @@ export IPFS_GATEWAY=http://172.15.0.16:5001
export IPFS_HTTP_GATEWAY=http://172.15.0.16:8080/ipfs/
#Provider
export PROVIDER_LOG_LEVEL=${PROVIDER_LOG_LEVEL:-INFO}
export AQUARIUS_LOG_LEVEL=${AQUARIUS_LOG_LEVEL:-INFO}
export PROVIDER_WORKERS=10
export PROVIDER_IPFS_GATEWAY=https://ipfs.oceanprotocol.com
export PROVIDER_PRIVATE_KEY=0xfd5c1ccea015b6d663618850824154a3b3fb2882c46cefb05b9a93fea8c3d215
@ -234,6 +234,7 @@ while :; do
printf $COLOR_Y'Starting without IPFS...\n\n'$COLOR_RESET
;;
--with-thegraph)
export RUST_LOG=${RUST_LOG:-INFO}
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/thegraph.yml"
printf $COLOR_Y'Starting with TheGraph...\n\n'$COLOR_RESET
;;