I have quite an annoying problem that should (hopefully) have an easy fix. In my prefect config, I have set PREFECT_LOGGING_EXTRA_LOGGERS='mylogger' , which works for locally run flows, however when running the same flow in an infrastructure block, the logging seems to have broken.
I’ve tried adding this {"PREFECT_LOGGING_EXTRA_LOGGERS":"mylogger"} to the env parameter in the block. However I keep getting an error…
1 validation error for Process
env
value is not a valid dict (type=type_error.dict)
I’ve also tried exporting to the global environment variables like so export PREFECT_LOGGING_EXTRA_LOGGERS="['mylogger']" and starting the prefect agent afterwards, but that also does not work.