Raviraja Ganta
04/30/2022, 11:10 AMprefect.context.get("logger")
is coming in the UI. How to surface my custom logger method logs also into the UI?Kevin Kho
04/30/2022, 2:50 PMRaviraja Ganta
04/30/2022, 6:55 PMlogger = loggers.create_logger(
project_name="prefect_example", level="INFO", json_logging=False
)
prefect.config.logging.extra_loggers = [logger]
Tried this.. didn't workKevin Kho
05/01/2022, 2:23 AMconfig
can’t be mutated during a flow run. It has to happen at flow start so you need the environment variables or you need it in the RunConfiguration of you flow