Skip to content

Commit 49c2f7e

Browse files
author
Renato Costa
committed
testserver: pass logtostderr when starting multiple nodes
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.
1 parent 2e2ec24 commit 49c2f7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testserver/testserver.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ func NewTestServer(opts ...TestServerOpt) (TestServer, error) {
577577
nodes[i].startCmdArgs = []string{
578578
serverArgs.cockroachBinary,
579579
startCmd,
580+
"--logtostderr",
580581
secureOpt,
581582
storeArg,
582583
fmt.Sprintf(

0 commit comments

Comments
 (0)