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
It would be nice to be able to configure the logging options via command line args and/or environment variables. For example, we could provide --file-log-level and --stream-log-level as command line args for configuring the logging levels.
If a setting has a command line arg defined, use that (highest priority).
If a setting has an environment var defined and no command line arg, use the env var.
If no env var is set and no command line arg is passed, use the default value.
It might also be useful to look at how tornado's settings functionality works. (I don't know and can't speak to the implementation at all, but it seems to work well.)
It would be nice to be able to configure the logging options via command line args and/or environment variables. For example, we could provide
--file-log-level
and--stream-log-level
as command line args for configuring the logging levels.If a setting has a command line arg defined, use that (highest priority).
If a setting has an environment var defined and no command line arg, use the env var.
If no env var is set and no command line arg is passed, use the default value.
It may be worth investigating collections.ChainMap for this.
The text was updated successfully, but these errors were encountered: