[FIX] server_environment: changed warning for debug log

- Even when the app server_environment was not installed
the method load_running_env was triggering a warning in the
logger.
This commit is contained in:
OlarAlca 2020-09-22 10:47:06 -05:00
parent 475857324e
commit f1ce51d78f
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ _boolean_states = {'1': True, 'yes': True, 'true': True, 'on': True,
def _load_running_env(): def _load_running_env():
if not system_base_config.get("running_env"): if not system_base_config.get("running_env"):
_logger.warning("`running_env` not found. Using default = `test`.") _logger.debug("`running_env` not found. Using default = `test`.")
_logger.warning( _logger.debug(
"We strongly recommend against using the rc file but instead use an " "We strongly recommend against using the rc file but instead use an "
"explicit config file or env variable." "explicit config file or env variable."
) )