Hello, what is the recommended way to expose logs ...
# ask-community
a
Hello, what is the recommended way to expose logs from threads to the Prefect 1 Cloud UI. I have a logger setup this way
Copy code
logger = logging.getLogger("mylogs")
<http://logger.info|logger.info>("msg")
+ 

PREFECT__LOGGING__EXTRA_LOGGERS="['mylogs']"
Logs from my main thread are logged but not from any additional threads I am using.
m
Hey @alex some of this I think can depend on how you're flows are running, this discourse article may be helpful if you're using Dask https://discourse.prefect.io/t/why-are-the-dask-logs-not-being-shown-in-the-prefect-ui/75, but also applies pretty generally.