David Deepwell
03/21/2025, 5:18 PMMarvin
03/21/2025, 5:19 PMbash
PREFECT_LOGGING_EXTRA_LOGGERS=dask,scipy
This setting can be configured as an environment variable or in a profile.
3. Logstash Configuration: You'll need to set up a Logstash input to receive logs from your Prefect flow. Typically, this involves using a TCP or HTTP input in your Logstash configuration.
4. Prefect Deployment: Ensure your Prefect deployment is set up correctly to use the configured logging settings. Prefect 3.x uses work pools to manage infrastructure configuration.
For more detailed guidance, you may want to look into the following resources:
- Prefect Logging Overview
- Prefect Deployment Overview
If you're new to Prefect 3.x, be aware of some common gotchas, such as the replacement of agents with workers and the use of work pools instead of infrastructure blocks.
If you need further assistance, feel free to ask!Nate
03/21/2025, 5:20 PMPREFECT_LOGGING_EXTRA_LOGGERS
is about showing external loggers in prefect logs, not exporting prefect logs somewhere else