Roger Dunbar

01/18/2023, 5:48 PM
Hi all, I am on Prefect 2 and running a dbt project with prefect_dbt and the trigger_dbt_cli_command. On my server for some reason, Prefect is ending with "Finished in state Completed()" without actually doing anything. When I set up the same conda environment and run the same from my local machine, the dbt project will correctly run before ending with "Finished in state Completed()". I'm not sure what's happening on my server for it to not actually do anything. I see no error message. Does anyone know of a way to get more visibility into what's happening under the hood?

Jeff Hale

01/18/2023, 7:32 PM
Hi Roger. You can can set the environment variable `PREFECT_LOGGING_LEVEL="DEBUG"` That might give you more info.

Roger Dunbar

01/18/2023, 7:50 PM
I will try that, thank you!
👍 1