Hi team, I have migrated to Prefect 3 and am trying to send flow and task logs to a file. I updated my logging.xml file in version 2 and followed the guide at
https://discourse.prefect.io/t/how-to-stream-prefect-logs-to-a-file/1963. This worked in version 2 but is failing in version 3. It creates an empty log file but nothing is being written to the logs.
Has the flow and task run loggers changed? I am using
prefect.flow_runs:
level: NOTSET
handlers: [api, app_file]
prefect.task_runs:
level: NOTSET
handlers: [api, app_file]