You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After replacing --logtostderr to --log="{file-defaults: {dir: tmp/dir/to/log}, sinks: {stderr: {filter: NONE}}}" , the "cockroach" command does not generate the listen-url file in the tmp directory when running tests from testserver_test.go. But the same command works well in local CLI.
Demo of tests with original --logtostderr running in debugger: check here
Demo of tests with --log running in debugger and local CLI: check here
After replacing
--logtostderr
to--log="{file-defaults: {dir: tmp/dir/to/log}, sinks: {stderr: {filter: NONE}}}"
, the "cockroach" command does not generate thelisten-url
file in the tmp directory when running tests fromtestserver_test.go
. But the same command works well in local CLI.Demo of tests with original
--logtostderr
running in debugger: check hereDemo of tests with
--log
running in debugger and local CLI: check hereDemos are based on these code changes.
The text was updated successfully, but these errors were encountered: