dropped ``RUST_LOG=info`` from recommended commands (#8054)

This commit is contained in:
Rupam Dey
2024-05-03 00:40:45 +05:30
committed by GitHub
parent e90dc44be9
commit 1a1c24ba24
4 changed files with 7 additions and 7 deletions

View File

@ -114,7 +114,7 @@ You can use `curl`, a programming language with a low-level library, or a tool l
As a reminder, you need to run the command below to enable all of these APIs using an HTTP transport: As a reminder, you need to run the command below to enable all of these APIs using an HTTP transport:
```bash ```bash
RUST_LOG=info reth node --http --http.api "admin,debug,eth,net,trace,txpool,web3,rpc" reth node --http --http.api "admin,debug,eth,net,trace,txpool,web3,rpc"
``` ```
This allows you to then call: This allows you to then call:

View File

@ -20,12 +20,12 @@ First, ensure that you have Reth installed by following the [installation instru
Now, to start the archive node, run: Now, to start the archive node, run:
```bash ```bash
RUST_LOG=info reth node reth node
``` ```
And to start the full node, run: And to start the full node, run:
```bash ```bash
RUST_LOG=info reth node --full reth node --full
``` ```
On differences between archive and full nodes, see [Pruning & Full Node](./pruning.md#basic-concepts) section. On differences between archive and full nodes, see [Pruning & Full Node](./pruning.md#basic-concepts) section.
@ -39,7 +39,7 @@ You can override this path using the `--authrpc.jwtsecret` option. You MUST use
So one might do: So one might do:
```bash ```bash
RUST_LOG=info reth node \ reth node \
--authrpc.jwtsecret /path/to/secret \ --authrpc.jwtsecret /path/to/secret \
--authrpc.addr 127.0.0.1 \ --authrpc.addr 127.0.0.1 \
--authrpc.port 8551 --authrpc.port 8551
@ -54,7 +54,7 @@ First, make sure you have Lighthouse installed. Sigma Prime provides excellent [
Assuming you have done that, run: Assuming you have done that, run:
```bash ```bash
RUST_LOG=info lighthouse bn \ lighthouse bn \
--checkpoint-sync-url https://mainnet.checkpoint.sigp.io \ --checkpoint-sync-url https://mainnet.checkpoint.sigp.io \
--execution-endpoint http://localhost:8551 \ --execution-endpoint http://localhost:8551 \
--execution-jwt /path/to/secret --execution-jwt /path/to/secret

View File

@ -3,7 +3,7 @@
Reth exposes a number of metrics, which are listed [here][metrics]. We can serve them from an HTTP endpoint by adding the `--metrics` flag: Reth exposes a number of metrics, which are listed [here][metrics]. We can serve them from an HTTP endpoint by adding the `--metrics` flag:
```bash ```bash
RUST_LOG=info reth node --metrics 127.0.0.1:9001 reth node --metrics 127.0.0.1:9001
``` ```
Now, as the node is running, you can `curl` the endpoint you provided to the `--metrics` flag to get a text dump of the metrics at that time: Now, as the node is running, you can `curl` the endpoint you provided to the `--metrics` flag to get a text dump of the metrics at that time:

View File

@ -39,7 +39,7 @@ To run Reth as a full node, follow the steps from the previous chapter on
[how to run on mainnet or official testnets](./mainnet.md), and add a `--full` flag. For example: [how to run on mainnet or official testnets](./mainnet.md), and add a `--full` flag. For example:
```bash ```bash
RUST_LOG=info reth node \ reth node \
--full \ --full \
--authrpc.jwtsecret /path/to/secret \ --authrpc.jwtsecret /path/to/secret \
--authrpc.addr 127.0.0.1 \ --authrpc.addr 127.0.0.1 \