Skip to content

Commit

Permalink
Reduce the verbosity of eth2network (#1597)
Browse files Browse the repository at this point in the history
* Reduce the verbosity of eth2network

* pr comments
  • Loading branch information
otherview authored Oct 12, 2023
1 parent 7dfd9ab commit b5620b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integration/eth2network/eth2_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ func (n *Impl) gethStartNode(executionPort, networkPort, httpPort, wsPort int, d
"--allow-insecure-unlock", // allows to use personal accounts over http/ws
"--nodiscover", // don't try and discover peers
"--ipcdisable", // avoid geth erroring bc the ipc path is too long
"--verbosity", "1", // error log level
}
fmt.Printf("gethStartNode: %s %s\n", n.gethBinaryPath, strings.Join(args, " "))
cmd := exec.Command(n.gethBinaryPath, args...) //nolint
Expand Down Expand Up @@ -438,7 +439,7 @@ func (n *Impl) prysmStartBeaconNode(gethAuthRPCPort, rpcPort, p2pPort int, nodeD
"--execution-endpoint", fmt.Sprintf("http://127.0.0.1:%d", gethAuthRPCPort),
"--jwt-secret", path.Join(nodeDataDir, "geth", "jwtsecret"),
"--contract-deployment-block", "0",
"--verbosity", "debug",
"--verbosity", "error",
}

fmt.Printf("prysmStartBeaconNode: %s %s\n", n.prysmBeaconBinaryPath, strings.Join(args, " "))
Expand All @@ -463,6 +464,7 @@ func (n *Impl) prysmStartValidator(beaconHTTPPort int, nodeDataDir string) (*exe
"--force-clear-db",
"--disable-account-metrics",
"--accept-terms-of-use",
"--verbosity", "error",
}

fmt.Printf("prysmStartValidator: %s %s\n", n.prysmValidatorBinaryPath, strings.Join(args, " "))
Expand Down

0 comments on commit b5620b1

Please sign in to comment.