cli icon indicating copy to clipboard operation
cli copied to clipboard

[Feature Request] CLI rewrite needs to support "pretty" log format and log level for older SDKs

Open cretz opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

All SDKs basically expect server start-dev to be able to set --log-format to something like "pretty" and --log-level to a needed value (Go, TS, Python, .NET, Core, etc). Today we have no concept of --log-format of "pretty", just text and json, and we have no concept of --log-level for just server, we have --log-level-server which we intentionally separated because we want warn the default there.

Suggestion: Add pretty as an alias for text in --log-format, and change --log-level-server to default to --log-level if not set, and change --log-level default for just this command to warn.

cretz avatar Apr 19 '24 14:04 cretz

Your suggestion seems fine to me. 👍

josh-berry avatar Apr 19 '24 16:04 josh-berry

Done in #535

cretz avatar May 07 '24 18:05 cretz