feat(config): Given a LOGLEVEL env var let user change verbosity, default to INFO
This commit is contained in:
		| @@ -77,7 +77,7 @@ logging.basicConfig( | ||||
| ) | ||||
| log = logging.getLogger("rich") | ||||
| # Our own code logs with this level | ||||
| log.setLevel(logging.DEBUG) | ||||
| log.setLevel(os.environ.get("LOGLEVEL") if "LOGLEVEL" in [k for k, v in os.environ.items()] else logging.INFO) | ||||
| {%- endif %} | ||||
| {%- if cookiecutter.uses_config_ini == "yes" %} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user