<@ULVA73B9P> what does `log_prints` flow kwarg do?...
# ask-marvin
n
@Marvin what does
log_prints
flow kwarg do? do I need to use it on tasks within flows if the flow has
log_prints=True
m
I found some relevant information in the Prefect documentation. When you set
log_prints=True
for a flow, it enables the logging of print statements within tasks. By default, tasks and subflows will inherit the
log_prints
setting from their parent flow, unless you opt out with their own explicit
log_prints
setting source. So, you don't need to set
log_prints
for individual tasks if you've already set it for the flow, as the tasks will inherit the setting from the flow.