Is there a way to programmatically add and remove ...
# ask-community
j
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
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
Ok.... thank you.