I’ve tried the following based on this logging guide:
- using
prefect config set PREFECT_LOGGING_EXTRA_LOGGERS=myapp
as described here → that way, my application logs showed up the the output of prefect agent, but not in the UI. - using
get_run_logger()
as root logger for my application → doesn’t work for me because it returns aPrefectLogAdapter
, not aLogger
and I’m usinggetChild()
quite a lot.
I’m currently on prefect 2.3.4
In the Orion UI under Orion Settings, I don’t see any extra loggers:
PREFECT_LOGGING_EXTRA_LOGGERS: