https://prefect.io logo
j

Jeff Hale

08/22/2023, 2:10 PM
Logs 🧵
https://docs.prefect.io/2.11.4/guides/logs/
Including logs from other libraries
By default, Prefect won’t capture log statements from libraries that your flows and tasks use. You can tell Prefect to include logs from these libraries with the
PREFECT_LOGGING_EXTRA_LOGGERS
setting.
To use this setting, specify one or more Python library names to include, separated by commas. For example, if you want to make sure Prefect captures Dask and SciPy logging statements with your flow and task run logs:
Copy code
PREFECT_LOGGING_EXTRA_LOGGERS=dask,scipy
👍 1
👍🏽 1