https://prefect.io logo
r

Raoul

07/18/2023, 3:44 PM
here's another question for later. when i add a print statement to the code, it shows up in the terminal but nowhere to be found in the Prefect UI for the given flow run. Just wondering I it is possible to view print statements in the UI? or maybe I'm overlooking it?
1
j

Jeff Hale

07/18/2023, 3:56 PM
log_prints=true
in the flow or task decorator or set it for all flows in your Prefect Profile or an environment variable https://docs.prefect.io/2.10.18/api-ref/prefect/settings/#prefect.settings.PREFECT_LOGGING_LOG_PRINTS
👍 1