hey all! is there a way to have `stdout` generated...
# prefect-server
c
hey all! is there a way to have
stdout
generated inside a container from a
DockerRun
or
KubernetesRun
be provided back into Prefect following the successful execution of the flow?
k
Is
stdout
generated from a task? Or some other process? Did you try:
Copy code
@task(log_stdout=True)
?
c
ah possibly a
ShellTask
will get me what i need! i see theres a footnote in https://docs.prefect.io/api/latest/tasks/shell.html#shelltask
This task combines stderr and stdout
is there a configuration to only and always get stdout?
k
Try something like?
Copy code
ShellTask(..., return_all=True, log_stderr=True, stream_output=True)
c
ok i'll give that a shot! thanks!