Skip to content

Commit

Permalink
chore(docs): Remove additional DEBUG references, add note on `LOG_L…
Browse files Browse the repository at this point in the history
…EVEL`s (#10434)
  • Loading branch information
critesjosh authored Dec 5, 2024
1 parent ecd6c4f commit e1e5906
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,11 @@ You can use `aztec.nr`'s oracles as usual for debug logging, as explained [here]

:::warning
Remember to set the following environment variables to activate debug logging:

```bash
export DEBUG="aztec:*"
export LOG_LEVEL="debug"
```

:::

### All Cheatcodes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ To change them, you can open `~/.aztec/docker-compose.sandbox.yml` and edit them
**Sandbox**

```sh
DEBUG=aztec:* # The level of debugging logs to be displayed. using "aztec:*" will log everything.
LOG_LEVEL=debug # Setting to 'debug' will print the debug logs
LOG_LEVEL=debug # Options are 'fatal', 'error', 'warn', 'info', 'verbose', 'debug', 'trace'
HOST_WORKDIR='${PWD}' # The location to store log outputs. Will use ~/.aztec where the docker-compose.yml file is stored by default.
ETHEREUM_HOST=http://ethereum:8545 # The Ethereum JSON RPC URL. We use an anvil instance that runs in parallel to the sandbox on docker by default.
L1_CHAIN_ID=31337 # The Chain ID that the Ethereum host is using.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ yarn add @aztec/aztec.js @aztec/accounts @aztec/noir-contracts.js typescript @ty
"build": "yarn clean && tsc -b",
"build:dev": "tsc -b --watch",
"clean": "rm -rf ./dest tsconfig.tsbuildinfo",
"start": "yarn build && DEBUG='token' node ./dest/index.js"
"start": "yarn build && LOG_LEVEL='info: token' node ./dest/index.js"
},
```

Expand Down

0 comments on commit e1e5906

Please sign in to comment.