cli
cli copied to clipboard
[Feature Request] CLI rewrite needs to support "pretty" log format and log level for older SDKs
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.
Your suggestion seems fine to me. 👍
Done in #535