Jeff Hale
08/22/2023, 2:10 PMIncluding 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 thesetting.PREFECT_LOGGING_EXTRA_LOGGERS
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:
PREFECT_LOGGING_EXTRA_LOGGERS=dask,scipy