https://prefect.io logo
Title
z

Zhibin Dai

02/24/2022, 3:33 PM
Hi All, I was able to get a dbt flow working and visible in the UI. One question: what do i need to do to make the dbt logs visible in the console? I see the INFO level logs in my terminal, but not here. I'd like to be able to see the logs of each test, for example. Thank you!
👍 1
m

Matthias

02/24/2022, 5:05 PM
To make them visible, you have to create an additional task to capture the logs, see e.g. this blog post https://medium.com/slateco-blog/prefect-orchestrating-dbt-10f3ca0baea9
z

Zhibin Dai

02/24/2022, 5:06 PM
Thanks, I will take a look
k

Kevin Kho

02/24/2022, 5:13 PM
The DbtShelTask can take in
return_all
and I think if you set this to True you can get the logs