mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-11-22 09:47:04 +01:00
Merge pull request #322 from oceanprotocol/remove-debug-logs-from-aqua
Removed aquarius debug logs.
This commit is contained in:
commit
d455c6df90
18
README.md
18
README.md
@ -95,6 +95,24 @@ export AQUARIUS_VERSION=v2.0.0
|
||||
./start_ocean.sh
|
||||
```
|
||||
|
||||
### Log levels
|
||||
|
||||
You can specify what type of logs barge should display for `Aquarius`, `Provider` or `Subgraph`
|
||||
by exporting the following environment variables.
|
||||
|
||||
- `AQUARIUS_LOG_LEVEL`
|
||||
- `PROVIDER_LOG_LEVEL`
|
||||
- `SUBGRAPH_LOG_LEVEL`
|
||||
|
||||
Currently, they are all set to `INFO`.
|
||||
|
||||
For example:
|
||||
|
||||
```bash
|
||||
export AQUARIUS_LOG_LEVEL=DEBUG
|
||||
./start_ocean.sh
|
||||
```
|
||||
|
||||
### All Options
|
||||
|
||||
| Option | Description |
|
||||
|
@ -21,7 +21,7 @@ services:
|
||||
DB_CA_CERTS: ${DB_CA_CERTS}
|
||||
DB_CLIENT_KEY: ${DB_CLIENT_KEY}
|
||||
DB_CLIENT_CERT: ${DB_CLIENT_CERT}
|
||||
LOG_LEVEL: DEBUG
|
||||
LOG_LEVEL: ${AQUARIUS_LOG_LEVEL}
|
||||
PRIVATE_KEY: "0x5d75837394b078ce97bc289fa8d75e21000573520bfa7784a9d28ccaae602bf8"
|
||||
ARTIFACTS_PATH: "/ocean-contracts/artifacts"
|
||||
ADDRESS_FILE: "/ocean-contracts/artifacts/address.json"
|
||||
|
@ -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: ${SUBGRAPH_LOG_LEVEL}
|
||||
postgres:
|
||||
image: postgres
|
||||
ports:
|
||||
|
@ -43,6 +43,12 @@ export WAIT_FOR_C2DIMAGES=${WAIT_FOR_C2DIMAGES:-false}
|
||||
export PROJECT_NAME="ocean"
|
||||
export FORCEPULL="false"
|
||||
|
||||
|
||||
# Export LOG LEVEL
|
||||
export AQUARIUS_LOG_LEVEL=${AQUARIUS_LOG_LEVEL:-INFO}
|
||||
export PROVIDER_LOG_LEVEL=${PROVIDER_LOG_LEVEL:-INFO}
|
||||
export SUBGRAPH_LOG_LEVEL=${SUBGRAPH_LOG_LEVEL:-info}
|
||||
|
||||
# Export User UID and GID
|
||||
export LOCAL_USER_ID=$(id -u)
|
||||
export LOCAL_GROUP_ID=$(id -g)
|
||||
@ -95,7 +101,6 @@ CHECK_ELASTIC_VM_COUNT=true
|
||||
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 PROVIDER_WORKERS=10
|
||||
export PROVIDER_IPFS_GATEWAY=https://ipfs.oceanprotocol.com
|
||||
export PROVIDER_PRIVATE_KEY=0xfd5c1ccea015b6d663618850824154a3b3fb2882c46cefb05b9a93fea8c3d215
|
||||
|
Loading…
Reference in New Issue
Block a user