f8893785f0
Now that hclog can independently set levels on related loggers, we can separate the log levels for different subsystems in terraform. This adds the new environment variables, `TF_LOG_CORE` and `TF_LOG_PROVIDER`, which each take the same set of log level arguments, and only applies to logs from that subsystem. This means that setting `TF_LOG_CORE=level` will not show logs from providers, and `TF_LOG_PROVIDER=level` will not show logs from core. The behavior of `TF_LOG` alone does not change. While it is not necessarily needed since the default is to disable logs, there is also a new level argument of `off`, which reflects the associated level in hclog. |
||
---|---|---|
.. | ||
copy | ||
depsfile | ||
didyoumean | ||
earlyconfig | ||
getproviders | ||
initwd | ||
logging | ||
modsdir | ||
providercache | ||
replacefile | ||
tfplugin5 | ||
typeexpr |