Open wandergeek opened 10 months ago
Even weirder, when I use SetLogPath
to set the logging destination file, I don't actually get a file out. Taking a stab in the dark, maybe this has something to do with overwriting the logging destinations?
https://github.com/hashicorp/terraform-exec/blob/e26205510919b4f893bb1370e000835b5d16ae4d/tfexec/cmd_default.go#L27-L45
Hey there legends! 👋
I'm trying to set
TF_LOG
usingtf.SetLog("TRACE")
and I am not getting anyTRACE
logging unless I also set theTF_LOG_PATH
. Looking closer at the code, it looks like this is expected behavior? https://github.com/hashicorp/terraform-exec/blob/main/tfexec/cmd.go#L154-L166Is there a way I can get TRACE logging without having to set the log path as well?
Cheers, Nick