Patrick Alves

11/21/2022, 11:56 AM
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:
prefect config set PREFECT_LOGGING_EXTRA_LOGGERS="rootlogger,loguru,root,root logger"
But it did not worked. Any tips?

Mason Menges

11/22/2022, 11:02 PM
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

Patrick Alves

11/25/2022, 1:35 PM
Thanks Mason!