Hi there, Does anyone use loguru on Prefect 2.0? ...
# ask-community
p
Hi there, Does anyone use loguru on Prefect 2.0? As the v2.0 does not have way to set a Global logger I was trying to add loguru as an extra logger to prefect. I’ve tried:
Copy code
prefect config set PREFECT_LOGGING_EXTRA_LOGGERS="rootlogger,loguru,root,root logger"
But it did not worked. Any tips?
m
Hey @Patrick Alves I haven't used loguru before but this discourse article links to a lot of content that might be helpful in sorting out how to setup the logging for prefect 2 https://discourse.prefect.io/t/prefect-logging-faq/1476
p
Thanks Mason!