Vlad
10/31/2023, 3:37 AMlogging
module output and show it in the Prefect UI (they appear in the console).
I have the flow defined like this:
from src import run_training
@prefect.flow(log_prints=True)
def model_training_flow(model_id: str, experiment: str):
run_training(model_id=model_id, experiment=experiment)
In the run_training
function I log using <http://logging.info|logging.info>("This is an info")
(not using <http://logger.info|logger.info>("...")
), is this an issue? Ideally I want to achieve this without any changes to the rest of my code.
Thank you in advance for any help.