From db2f4c9bff80f56ebbee9b082c11bf05418319d8 Mon Sep 17 00:00:00 2001 From: otherview Date: Thu, 12 Oct 2023 12:28:28 +0100 Subject: [PATCH 1/2] Reduce the verbosity of eth2network --- integration/eth2network/eth2_network.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integration/eth2network/eth2_network.go b/integration/eth2network/eth2_network.go index 86eb77f9c1..032f574a83 100644 --- a/integration/eth2network/eth2_network.go +++ b/integration/eth2network/eth2_network.go @@ -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", } fmt.Printf("gethStartNode: %s %s\n", n.gethBinaryPath, strings.Join(args, " ")) cmd := exec.Command(n.gethBinaryPath, args...) //nolint @@ -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, " ")) @@ -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, " ")) From 4a91386f153abf4179e3de5324f5d2dd476d52f2 Mon Sep 17 00:00:00 2001 From: otherview Date: Thu, 12 Oct 2023 13:48:39 +0100 Subject: [PATCH 2/2] pr comments --- integration/eth2network/eth2_network.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/eth2network/eth2_network.go b/integration/eth2network/eth2_network.go index 032f574a83..7a2c57f08b 100644 --- a/integration/eth2network/eth2_network.go +++ b/integration/eth2network/eth2_network.go @@ -390,7 +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", + "--verbosity", "1", // error log level } fmt.Printf("gethStartNode: %s %s\n", n.gethBinaryPath, strings.Join(args, " ")) cmd := exec.Command(n.gethBinaryPath, args...) //nolint