https://pulumi.com logo
e

echoing-vase-56822

07/17/2023, 11:31 AM
hey, Im having issues with a provider. is there actually a debug functionality to show the (http) requests from the provider to the cloud? the tracing file only seem to show the properties send to the provider. I would like to get the whole http requests including cookies and headers.
m

melodic-tomato-39005

07/17/2023, 11:34 AM
Yes, if you go high enough with the verbosity level as described here, it will show the requests.
e

echoing-vase-56822

07/17/2023, 11:45 AM
hm, I see a lot of rpc logs.. there are some http endpoints under eventSink::Debug but no full http logs with headers and body
m

melodic-tomato-39005

07/17/2023, 11:48 AM
It may depend on the provider since itโ€™s the one making the requests. Which provider are you using?
e

echoing-vase-56822

07/17/2023, 11:49 AM
its the openstack provider
m

melodic-tomato-39005

07/17/2023, 11:52 AM
Since this is a bridged Terraform provider, could you try setting
TF_LOG=DEBUG
?
e

echoing-vase-56822

07/17/2023, 11:59 AM
thanks! that actually gives a lot of information! its quite badly formated with eventSink: : Debug and some <{%reset%}> stuff not sure if tracing format will improve that. also auth tokens are masked ๐Ÿ™‚ for good and bad ๐Ÿ˜›