Skip to content

Commit

Permalink
testserver: pass logtostderr when starting multiple nodes
Browse files Browse the repository at this point in the history
This commit adds the `--logtostderr` command line flag when starting a
cluster with multiple nodes, making the behavior consistent with
single-node clusters. In addition, this makes the change introduced in
68fede3 more useful, as the stderr will include the actual cockroach
logs.
  • Loading branch information
renatolabs committed Jun 13, 2023
1 parent 2e2ec24 commit 49c2f7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testserver/testserver.go
Expand Up @@ -577,6 +577,7 @@ func NewTestServer(opts ...TestServerOpt) (TestServer, error) {
nodes[i].startCmdArgs = []string{
serverArgs.cockroachBinary,
startCmd,
"--logtostderr",
secureOpt,
storeArg,
fmt.Sprintf(
Expand Down

0 comments on commit 49c2f7e

Please sign in to comment.