Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New CLI release unexpectedly sets "verbose" to true by default #487

Open
DerekTBrown opened this issue Aug 24, 2022 · 2 comments
Open

New CLI release unexpectedly sets "verbose" to true by default #487

DerekTBrown opened this issue Aug 24, 2022 · 2 comments

Comments

@DerekTBrown
Copy link

Upgrading to the newest release of the Coder CLI (1.32.0 -> 1.33.3) results in a change where the --verbose flag is set by default:

  -v, --verbose              show verbose output (also settable via CODER_AGENT_VERBOSE) (default true)

This results in a ton of log spam when trying to do things like coder ssh:

: "tcp:localhost:12213", "dc_id": 3, "res": "{Code: Err: Net: Op:}"}
2022-08-24 22:29:00.799 [DEBUG]	(wsnet)	<./product/coder/pkg/wsnet/dial.go:470>	(*Dialer).DialContext	dial channel ready	{"proto": "tcp:localhost:12213", "dc_id": 3}
2022-08-24 22:29:00.800 [DEBUG]	<./product/coder/service/cli/cmd/tunnel.go:314>	(*tunneler).start	connected to workspace
coder@perdido:~$ 2022-08-24 22:29:01.699 [DEBUG]	(wsnet)	<./product/coder/pkg/wsnet/dial.go:363>	(*Dialer).Ping	sending ping
   

Could this change be reverted?

@DerekTBrown
Copy link
Author

CC: @deansheather

@deansheather
Copy link
Member

Thanks for reporting this @DerekTBrown. We'll have a look with this and release a fix as a patch hopefully 🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants