Andrew P
05/12/2023, 3:29 PMlogging
library (or stdout/stderr)? We don't want the prefect dependency and get-flow-logger calls in all of our business logic code, but it'd be nice to see debug and error code in the prefect cloud consoleAndrew P
05/12/2023, 3:30 PMalex
05/12/2023, 3:37 PMPREFECT_LOGGING_EXTRA_LOGGERS
env var to your loggers names and they will show up in the UIAndrew P
05/12/2023, 3:44 PMAndrew P
05/12/2023, 3:46 PMAndrew P
05/12/2023, 3:47 PMAndrew P
05/12/2023, 3:52 PMloggers_to_pass_through = [name for name in logging.root.manager.loggerDict.keys() if name.startswith("some-biz-app-key")]
prefect.set_run_extra_loggers(loggers_to_pass_through)