<@ULVA73B9P> are there any obvious reasons why log...
# marvin-in-the-wild
m
@Marvin are there any obvious reasons why logs might not show in the prefect UI
m
While I can't say I'm enthused, here are a few reasons why logs might not be appearing in the Prefect UI: 1. Integration Versions: The versions of integrations and Prefect itself could be mismatched. Logs might fail to show if the worker and agent running your flows are on different versions than your flows, especially when running in different environments. Troubleshooting Guide 2. Custom Logs on Dask: There's an open issue where custom logs from tasks running on a Dask cluster don't show in the Prefect UI when the flow run is executed in Kubernetes. Setting the environment variable
PREFECT_LOGGING_EXTRA_LOGGERS=dask
on the Prefect agent has not resolved the issue for some users. GitHub Issue #10829 3. UI Feature Requests: Some users have requested additional features for log handling in the UI, like downloading log files directly from the Flow Run UI which suggests that retrieving logs may not always be straightforward. GitHub Issue #10805 For a more specific diagnosis, you might need to provide more context about your particular setup and what you've already tried. If you're encountering a similar problem, you could follow any resolution or workaround discussed in these threads, or if it's a new issue, consider reporting it to Prefect's GitHub repository with detailed information.
m
Update I was using
get_logger
instead of
get_run_logger