https://prefect.io logo
j

Jason Oban

08/25/2020, 5:01 PM
Is there a way to programmatically add and remove extra loggers or can extra loggers only be configured via environment variables or the prefect config?
j

Jim Crist-Harif

08/25/2020, 5:04 PM
Prefect's logging configuration is run on import, and isn't currently exposed programmatically. That said, we rely on the python logging module, so all programmatic methods of adding/removing loggers/handlers/formatters supported there should also work here.
j

Jason Oban

08/25/2020, 5:06 PM
Ok.... thank you.