Hi there. I am having trouble with shell tasks and...
# prefect-community
p
Hi there. I am having trouble with shell tasks and logging. For example, when I run
DbtShellTask
, it doesn't show output why it's running or when it succeeds. The only time I see the detailed output is when there is a failure. I tried passing these args and it still doesn't show streamed output in the logs, not even after the task completes.
Copy code
return_all=True,
log_stdout=True,
log_stderr=True,
I also set the
PREFECT__LOGGING__LEVEL=DEBUG
everywhere I could think of: prefect server, agent, docker storage, run config. I see DEBUG level messages on Prefect Server, but nothing from the task. I am running 0.14.2 Any ideas?
I was able to get it to stream by passing
stream_output=True
but this doesn't explain why it could not see the successful output after the task completed. Thoughts?