John Ramey10/20/2022, 5:05 PM
be called in each task/flow? i have a flow with ~20 tasks. and after upgrading to Prefect 2, I have 20 different calls to
— is there a better way to adhere to DRY?
redsquare10/20/2022, 5:38 PM
Andrew Huang10/20/2022, 6:35 PM
Nick DeCraene10/20/2022, 6:41 PM
and it'll log those to the ui:
logger = logging.getLogger('app')
Jeff Hale10/20/2022, 7:57 PM
Nick DeCraene10/21/2022, 2:39 PM
@Jeff Hale any insight here?
prefect.exceptions.MissingContextError: Logger 'job' attempted to send logs to Orion without a flow run id. The Orion log handler can only send logs within flow run contexts unless the flow run id is manually provided.
Jeff Hale10/21/2022, 2:48 PM
Nick DeCraene10/21/2022, 3:33 PM
Nick DeCraene10/21/2022, 4:07 PM